Define a rateval macro that drivers tend to hard-code.
Submitted by: Andriy Voskoboinyk <s3erios@gmail.com> Differential Revision: https://reviews.freebsd.org/D3705
This commit is contained in:
parent
4db90148e1
commit
5779122880
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=288084
@ -815,6 +815,7 @@ struct ieee80211_csa_ie {
|
|||||||
/* rate set entries are in .5 Mb/s units, and potentially marked as basic */
|
/* rate set entries are in .5 Mb/s units, and potentially marked as basic */
|
||||||
#define IEEE80211_RATE_BASIC 0x80
|
#define IEEE80211_RATE_BASIC 0x80
|
||||||
#define IEEE80211_RATE_VAL 0x7f
|
#define IEEE80211_RATE_VAL 0x7f
|
||||||
|
#define IEEE80211_RV(v) ((v) & IEEE80211_RATE_VAL)
|
||||||
|
|
||||||
/* ERP information element flags */
|
/* ERP information element flags */
|
||||||
#define IEEE80211_ERP_NON_ERP_PRESENT 0x01
|
#define IEEE80211_ERP_NON_ERP_PRESENT 0x01
|
||||||
|
Loading…
Reference in New Issue
Block a user