diff options
author | Jes Sorensen | 2014-05-09 15:04:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-05-15 22:12:02 +0200 |
commit | 072fc84dce0620dcbb907a6881b46552c239bcf5 (patch) | |
tree | 5599ce14385d38c926c6995f8f6c37262fdbcaa9 /drivers/staging/rtl8723au/include | |
parent | staging: rtl8723au: Remove local #define BIT() (diff) | |
download | kernel-qcow2-linux-072fc84dce0620dcbb907a6881b46552c239bcf5.tar.gz kernel-qcow2-linux-072fc84dce0620dcbb907a6881b46552c239bcf5.tar.xz kernel-qcow2-linux-072fc84dce0620dcbb907a6881b46552c239bcf5.zip |
staging: rtl8723au: tid is 4 bits, so we need a 16 bit value to hold a bitmap
Remove unused add_enable_bitmap and candidate_tid_bitmap from struct
mlme_ext_info.
In addition we don't need to use CHKBIT when we know we are dealing
with a value in the range 0-15.
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723au/include')
-rw-r--r-- | drivers/staging/rtl8723au/include/rtw_ht.h | 4 | ||||
-rw-r--r-- | drivers/staging/rtl8723au/include/rtw_mlme_ext.h | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/rtl8723au/include/rtw_ht.h b/drivers/staging/rtl8723au/include/rtw_ht.h index 7fe0aa46f707..86ce86b6b69b 100644 --- a/drivers/staging/rtl8723au/include/rtw_ht.h +++ b/drivers/staging/rtl8723au/include/rtw_ht.h @@ -33,9 +33,9 @@ struct ht_priv u8 sgi;/* short GI */ /* for processing Tx A-MPDU */ - u8 agg_enable_bitmap; + u16 agg_enable_bitmap; /* u8 ADDBA_retry_count; */ - u8 candidate_tid_bitmap; + u16 candidate_tid_bitmap; struct ieee80211_ht_cap ht_cap; }; diff --git a/drivers/staging/rtl8723au/include/rtw_mlme_ext.h b/drivers/staging/rtl8723au/include/rtw_mlme_ext.h index 6a4aa2b11808..d185748ecd09 100644 --- a/drivers/staging/rtl8723au/include/rtw_mlme_ext.h +++ b/drivers/staging/rtl8723au/include/rtw_mlme_ext.h @@ -357,9 +357,7 @@ struct mlme_ext_info u8 turboMode_cts2self; u8 turboMode_rtsen; u8 SM_PS; - u8 agg_enable_bitmap; u8 ADDBA_retry_count; - u8 candidate_tid_bitmap; u8 dialogToken; /* Accept ADDBA Request */ bool bAcceptAddbaReq; |