diff options
author | Thomas Pedersen <thomas@cozybit.com> | 2011-08-12 23:01:00 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-22 14:46:00 -0400 |
commit | 8db098507c5cbe499061d0f6aea426a36e7c72d7 (patch) | |
tree | bf7062fff64f56ae376cb16ffa5c3cd85c09296b /net/wireless | |
parent | 54ef656b05103f700ff8fc2aaf0382cfd0e54fe4 (diff) |
mac80211: update mesh peering frame format
This patch updates the mesh peering frames to the format specified in
the recently ratified 802.11s standard. Several changes took place to
make this happen:
- Change RX path to handle new self-protected frames
- Add new Peering management IE
- Remove old Peer Link IE
- Remove old plink_action field in ieee80211_mgmt header
These changes by themselves would either break peering, or work by
coincidence, so squash them all into this patch.
Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/wireless')
-rw-r--r-- | net/wireless/util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/wireless/util.c b/net/wireless/util.c index 844ddb0aa653..eef82f79554d 100644 --- a/net/wireless/util.c +++ b/net/wireless/util.c | |||
@@ -1158,9 +1158,9 @@ u32 ieee802_11_parse_elems_crc(u8 *start, size_t len, | |||
1158 | if (elen >= sizeof(struct ieee80211_meshconf_ie)) | 1158 | if (elen >= sizeof(struct ieee80211_meshconf_ie)) |
1159 | elems->mesh_config = (void *)pos; | 1159 | elems->mesh_config = (void *)pos; |
1160 | break; | 1160 | break; |
1161 | case WLAN_EID_PEER_LINK: | 1161 | case WLAN_EID_PEER_MGMT: |
1162 | elems->peer_link = pos; | 1162 | elems->peering = pos; |
1163 | elems->peer_link_len = elen; | 1163 | elems->peering_len = elen; |
1164 | break; | 1164 | break; |
1165 | case WLAN_EID_PREQ: | 1165 | case WLAN_EID_PREQ: |
1166 | elems->preq = pos; | 1166 | elems->preq = pos; |