qca / open-ath9k-htc-firmware

The firmware for QCA AR7010/AR9271 802.11n USB NICs
Other
429 stars 182 forks source link

ath9k_htc_firmware: fix the offset of CCMP header for mesh data frame #51

Closed chunyeow closed 10 years ago

chunyeow commented 10 years ago

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" for secure mesh.

Signed-off-by: Chun-Yeow Yeoh yeohchunyeow@gmail.com