LinuxKPI: 802.11: update struct member types

Update struct member types for ongoing work towards HT support.

Sponsored by:	The FreeBSD Foundation
MFC after:	3 days
This commit is contained in:
Bjoern A. Zeeb 2022-10-31 22:24:08 +00:00
parent 1d70218e9e
commit 05e640dc9e
2 changed files with 7 additions and 4 deletions

View File

@ -173,9 +173,9 @@ struct ieee80211_rate {
};
struct ieee80211_sta_ht_cap {
/* TODO FIXME */
int ampdu_density, ampdu_factor;
bool ht_supported;
uint8_t ampdu_density;
uint8_t ampdu_factor;
uint16_t cap;
struct ieee80211_mcs_info mcs;
};

View File

@ -623,13 +623,16 @@ struct ieee80211_link_sta {
#define IEEE80211_NUM_TIDS 16 /* net80211::WME_NUM_TID */
struct ieee80211_sta {
/* TODO FIXME */
int max_amsdu_len, max_amsdu_subframes, max_rc_amsdu_len, max_sp;
int mfp, smps_mode, tdls, tdls_initiator, uapsd_queues, wme;
int max_amsdu_len, max_amsdu_subframes, max_rc_amsdu_len;
int mfp, smps_mode, tdls, tdls_initiator;
struct ieee80211_txq *txq[IEEE80211_NUM_TIDS + 1]; /* iwlwifi: 8 and adds +1 to tid_data, net80211::IEEE80211_TID_SIZE */
struct ieee80211_sta_rates *rates; /* some rcu thing? */
uint32_t max_tid_amsdu_len[IEEE80211_NUM_TIDS];
uint8_t addr[ETH_ALEN];
uint16_t aid;
bool wme;
uint8_t max_sp;
uint8_t uapsd_queues;
struct ieee80211_link_sta deflink;