]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/nl80211.h
cfg80211: fix disabling channels based on hints
[net-next-2.6.git] / include / linux / nl80211.h
index 0edb2566c14ca6602a188c422fe0a10fdc17bdff..fb877b5621b7cc5f8b6e57d45a45ce0375c07492 100644 (file)
@@ -1307,7 +1307,11 @@ enum nl80211_bitrate_attr {
  *     wireless core it thinks its knows the regulatory domain we should be in.
  * @NL80211_REGDOM_SET_BY_COUNTRY_IE: the wireless core has received an
  *     802.11 country information element with regulatory information it
- *     thinks we should consider.
+ *     thinks we should consider. cfg80211 only processes the country
+ *     code from the IE, and relies on the regulatory domain information
+ *     structure pased by userspace (CRDA) from our wireless-regdb.
+ *     If a channel is enabled but the country code indicates it should
+ *     be disabled we disable the channel and re-enable it upon disassociation.
  */
 enum nl80211_reg_initiator {
        NL80211_REGDOM_SET_BY_CORE,