mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
remove IFM_IEEE80211_HT40PLUS and IFM_IEEE80211_HT40MINUS; they
never got used so nuke 'em before we branch Approved by: re (blanket wireless)
This commit is contained in:
parent
7b7b893394
commit
95032ab129
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=172223
@ -211,8 +211,6 @@ uint64_t ifmedia_baudrate(int);
|
||||
#define IFM_IEEE80211_IBSSMASTER 0x00000800 /* Operate as an IBSS master */
|
||||
#define IFM_IEEE80211_TURBO 0x00001000 /* Operate in turbo mode */
|
||||
#define IFM_IEEE80211_MONITOR 0x00002000 /* Operate in monitor mode */
|
||||
#define IFM_IEEE80211_HT40PLUS 0x00004000 /* Operate in 11n HT40+ mode */
|
||||
#define IFM_IEEE80211_HT40MINUS 0x00008000 /* Operate in 11n HT40- mode */
|
||||
|
||||
/* operating mode for multi-mode devices */
|
||||
#define IFM_IEEE80211_11A 0x00010000 /* 5Ghz, OFDM mode */
|
||||
@ -500,8 +498,6 @@ struct ifmedia_description {
|
||||
{ IFM_IEEE80211_IBSSMASTER, "ibss-master" }, \
|
||||
{ IFM_IEEE80211_TURBO, "turbo" }, \
|
||||
{ IFM_IEEE80211_MONITOR, "monitor" }, \
|
||||
{ IFM_IEEE80211_HT40MINUS, "ht-" }, \
|
||||
{ IFM_IEEE80211_HT40PLUS, "ht+" }, \
|
||||
{ 0, NULL }, \
|
||||
}
|
||||
|
||||
|
@ -931,10 +931,6 @@ media_status(enum ieee80211_opmode opmode, const struct ieee80211_channel *chan)
|
||||
|
||||
if (IEEE80211_IS_CHAN_TURBO(chan))
|
||||
status |= IFM_IEEE80211_TURBO;
|
||||
if (IEEE80211_IS_CHAN_HT40U(chan))
|
||||
status |= IFM_IEEE80211_HT40PLUS;
|
||||
if (IEEE80211_IS_CHAN_HT40D(chan))
|
||||
status |= IFM_IEEE80211_HT40MINUS;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user