rsi: Correct RSI_NEEDED_HEADROOM in mac80211_attach.
authorAmol Hanwate <amol.hanwate@redpinesignals.com>
Mon, 16 Jul 2018 13:39:35 +0000 (19:09 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jul 2018 07:16:00 +0000 (10:16 +0300)
commitabbe87d339bdd3315b145d9c03ab5ab578febee7
treeb5cac5973efc5c4f4479455a0973b94d92a852f6
parentf5fbce65abcf08cb961ddb1bc8f159f461c1a9db
rsi: Correct RSI_NEEDED_HEADROOM in mac80211_attach.

Currently, RSI_NEEDED_HEADROOM is '80' for rsi driver, which is wrong.
As per rsi internal frame format, the RSI_NEEDED_HEADROOM shall be '84',
which is 64(dword_align) + 4(extended_desc) + 16(frame_desc).
Hence, corrected the needed headroom.

Signed-off-by: Amol Hanwate <amol.hanwate@redpinesignals.com>
Signed-off-by: Siva Rebbagondla <siva.rebbagondla@redpinesignals.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/rsi/rsi_mgmt.h