Changeset View
Changeset View
Standalone View
Standalone View
sys/net80211/ieee80211_output.c
| Show First 20 Lines • Show All 2,643 Lines • ▼ Show 20 Lines | ieee80211_send_probereq(struct ieee80211_node *ni, | ||||
| ret = ieee80211_raw_output(vap, ni, m, ¶ms); | ret = ieee80211_raw_output(vap, ni, m, ¶ms); | ||||
| IEEE80211_TX_UNLOCK(ic); | IEEE80211_TX_UNLOCK(ic); | ||||
| ieee80211_free_node(bss); | ieee80211_free_node(bss); | ||||
| return (ret); | return (ret); | ||||
| } | } | ||||
| /* | /* | ||||
| * Calculate capability information for mgt frames. | * Calculate capability information for mgt frames. | ||||
| * | |||||
| * This fills out the 16 bit capability field in various management | |||||
| * frames for non-DMG STAs. DMG STAs are not supported. | |||||
| * | |||||
| * See 802.11-2020 9.4.1.4 (Capability Information Field) for the | |||||
| * field definitions. | |||||
| */ | */ | ||||
| uint16_t | uint16_t | ||||
| ieee80211_getcapinfo(struct ieee80211vap *vap, struct ieee80211_channel *chan) | ieee80211_getcapinfo(struct ieee80211vap *vap, struct ieee80211_channel *chan) | ||||
| { | { | ||||
| uint16_t capinfo; | uint16_t capinfo; | ||||
| KASSERT(vap->iv_opmode != IEEE80211_M_STA, ("station mode")); | KASSERT(vap->iv_opmode != IEEE80211_M_STA, ("station mode")); | ||||
| ▲ Show 20 Lines • Show All 1,537 Lines • Show Last 20 Lines | |||||