mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-14 06:12:01 +01:00
add defines for driver-private bits to eliminate use of constants
This commit is contained in:
parent
129dec4245
commit
76df237570
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=187634
@ -143,8 +143,11 @@ struct ieee80211_channel {
|
|||||||
#define IEEE80211_CHAN_ANYC \
|
#define IEEE80211_CHAN_ANYC \
|
||||||
((struct ieee80211_channel *) IEEE80211_CHAN_ANY)
|
((struct ieee80211_channel *) IEEE80211_CHAN_ANY)
|
||||||
|
|
||||||
/* bits 0-3 are for private use by drivers */
|
|
||||||
/* channel attributes */
|
/* channel attributes */
|
||||||
|
#define IEEE80211_CHAN_PRIV0 0x00000001 /* driver private bit 0 */
|
||||||
|
#define IEEE80211_CHAN_PRIV1 0x00000002 /* driver private bit 1 */
|
||||||
|
#define IEEE80211_CHAN_PRIV2 0x00000004 /* driver private bit 2 */
|
||||||
|
#define IEEE80211_CHAN_PRIV3 0x00000008 /* driver private bit 3 */
|
||||||
#define IEEE80211_CHAN_TURBO 0x00000010 /* Turbo channel */
|
#define IEEE80211_CHAN_TURBO 0x00000010 /* Turbo channel */
|
||||||
#define IEEE80211_CHAN_CCK 0x00000020 /* CCK channel */
|
#define IEEE80211_CHAN_CCK 0x00000020 /* CCK channel */
|
||||||
#define IEEE80211_CHAN_OFDM 0x00000040 /* OFDM channel */
|
#define IEEE80211_CHAN_OFDM 0x00000040 /* OFDM channel */
|
||||||
|
Loading…
Reference in New Issue
Block a user