]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro
authorAmitkumar Karwar <akarwar@marvell.com>
Wed, 12 Jan 2011 00:14:24 +0000 (16:14 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 17 Feb 2011 22:47:27 +0000 (14:47 -0800)
commitb2420c31459a69d90a89e1b2e7484bcea930fb35
tree5860e4890ca724498280d868513946c58436627c
parent267b02bf3ccda4ba557e56e4cbc827cef74e036f
ieee80211: correct IEEE80211_ADDBA_PARAM_BUF_SIZE_MASK macro

commit 8d661f1e462d50bd83de87ee628aaf820ce3c66c upstream.

It is defined in include/linux/ieee80211.h. As per IEEE spec.
bit6 to bit15 in block ack parameter represents buffer size.
So the bitmask should be 0xFFC0.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Reviewed-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
include/linux/ieee80211.h