]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] ieee80211: Add helpers for IBSS DFS handling
authorZhu Yi <yi.zhu@intel.com>
Thu, 19 Jan 2006 08:21:35 +0000 (16:21 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Jan 2006 22:08:07 +0000 (17:08 -0500)
commit15f385982e3a4782fe8ed71a9a6beb64a2160c30
treed33236c0ed68d8a255c88e3e3279f876c67575c6
parentb79e20b60997e427b701055a2c69fb0c1d507aa9
[PATCH] ieee80211: Add helpers for IBSS DFS handling

To support IEEE 802.11h in IBSS, an ibss_dfs field is added to struct
ieee80211_network. In IBSS, if one STA sends a beacon with DFS info
(for radar detection), all the other STAs should receive and store
this DFS.  All STAs should send the DFS as one of the information
element in the beacon they are scheduled to send (if possible) in
the future.

Since the ibss_dfs has variable length, it must be allocated
dynamically. ieee80211_network_reset() is added to clear the ibss_dfs
field. ieee80211_network_free() is also updated to free the ibss_dfs
field if it is not NULL.

Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/ieee80211/ieee80211_module.c