ath9k_htc_firmware: fix the offset of CCMP header for mesh data frame 51/head
authorChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Fri, 4 Apr 2014 09:01:15 +0000 (17:01 +0800)
committerChun-Yeow Yeoh <yeohchunyeow@gmail.com>
Fri, 4 Apr 2014 09:12:12 +0000 (17:12 +0800)
commit5c5580bd6b3f970308844fe0d08857f43b7ae28f
treef9e20cb7da130b50065528014d8875e74b46d1bc
parentbe52f254f3ed7af6f09ff6cdcd32da9edbfaba33
ath9k_htc_firmware: fix the offset of CCMP header for mesh data frame

Mesh data frame uses at least 3 addresses scheme. So set the offset
correctly while fetching the CCMP header. Previously, we are not
able to do HW encryption for unicast data frame. Applying this
patch will allow HW encryption and avoid loading ath9k_htc.ko using
"nohwcrypt=1".

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>
target_firmware/wlan/ieee80211_output.c