K 10 svn:author V 3 sam K 8 svn:date V 27 2009-01-24T00:14:34.772206Z K 7 svn:log V 1276 Fix GSM, 1/2 and 1/4 width channels: o 1/2 and 1/4 width channels are included in IEEE80211_CHAN_ALL and IEEE80211_CHAN_ALLTURBO which caused them to be visible in various switch statements; deal with this for now by defining IEEE80211_CHAN_ALLFULL and IEEE80211_CHAN_ALLTURBOFULL that have these masked out (long term we should remove all direct usage of ic_flags) o GSM channels were broken by removal of the frequency mapping; fix this by making the frequency in HAL_CHANNEL_PRIVATE hold the mapped frequency and deal with the translation when setting up the private channel array; this has the benefit of making this transparent to the driver o add ath_hal_gethwchannel api to map an 802.11 channel to the ``hw frequency''; this just find the private channel and returns the (possibly mapped) frequency o use ath_hal_gethwchannel everywhere (even in 5210, 5211, and 5416 parts that don't (yet) support 1/2 and 1/4 width channels); beware that we cannot use this in the code that returns the power limits as it is used when constructing the initial channel list and those are never mapped (and at that point the private channel map is not yet setup) May want to promote IEEE80211_CHAN_ALLFULL and IEEE80211_CHAN_ALLTURBOFULL to _ieee80211.h. END