Home
last modified time | relevance | path

Searched refs:i_fc (Results 1 – 25 of 32) sorted by relevance

12

/titanic_44/usr/src/uts/common/io/mac/plugins/
H A Dmac_wifi.c204 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_DATA; in mac_wifi_header()
208 wh->i_fc[1] = IEEE80211_FC1_DIR_TODS; in mac_wifi_header()
216 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS; in mac_wifi_header()
223 wh->i_fc[1] = IEEE80211_FC1_DIR_FROMDS; in mac_wifi_header()
234 qwh->i_fc[0] |= IEEE80211_FC0_SUBTYPE_QOS; in mac_wifi_header()
242 wh->i_fc[1] |= IEEE80211_FC1_WEP; in mac_wifi_header()
252 wh->i_fc[1] |= IEEE80211_FC1_WEP; in mac_wifi_header()
296 if (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_QOS) in mac_wifi_header_info()
306 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in mac_wifi_header_info()
338 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) { in mac_wifi_header_info()
/titanic_44/usr/src/uts/common/sys/
H A Dnet80211_proto.h125 uint8_t i_fc[2]; /* [0]-protocol version, [1]-type & subtype */ member
136 uint8_t i_fc[2]; member
152 uint8_t i_fc[2]; member
162 uint8_t i_fc[2]; member
197 uint8_t i_fc[2]; member
205 uint8_t i_fc[2]; member
213 uint8_t i_fc[2]; member
220 uint8_t i_fc[2]; member
227 uint8_t i_fc[2]; member
235 uint8_t i_fc[2]; member
[all …]
/titanic_44/usr/src/uts/common/io/net80211/
H A Dnet80211_input.c88 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; in ieee80211_input()
112 if ((wh->i_fc[0] & IEEE80211_FC0_VERSION_MASK) != in ieee80211_input()
115 "discard pkt with wrong version %x", wh->i_fc[0]); in ieee80211_input()
119 dir = wh->i_fc[1] & IEEE80211_FC1_DIR_MASK; in ieee80211_input()
120 type = wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK; in ieee80211_input()
121 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ieee80211_input()
195 (wh->i_fc[1] & IEEE80211_FC1_RETRY) && in ieee80211_input()
283 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in ieee80211_input()
300 wh->i_fc[1] &= ~IEEE80211_FC1_WEP; in ieee80211_input()
357 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in ieee80211_input()
[all …]
H A Dnet80211_output.c57 wh->i_fc[0] = (uint8_t)(IEEE80211_FC0_VERSION_0 | type); in ieee80211_send_setup()
61 wh->i_fc[1] = IEEE80211_FC1_DIR_TODS; in ieee80211_send_setup()
68 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS; in ieee80211_send_setup()
79 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS; in ieee80211_send_setup()
114 wh->i_fc[1] |= IEEE80211_FC1_WEP; in ieee80211_mgmt_output()
154 wh->i_fc[1] |= IEEE80211_FC1_PWR_MGT; in ieee80211_send_nulldata()
161 wh->i_fc[1] & IEEE80211_FC1_PWR_MGT ? "ena" : "dis"); in ieee80211_send_nulldata()
253 wh->i_fc[1] |= IEEE80211_FC1_WEP; in ieee80211_encap()
913 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_MGT | in ieee80211_beacon_alloc()
915 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS; in ieee80211_beacon_alloc()
H A Dnet80211_proto.c119 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) { in ieee80211_dump_pkt()
171 switch (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) { in ieee80211_dump_pkt()
178 (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) in ieee80211_dump_pkt()
183 wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK); in ieee80211_dump_pkt()
187 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in ieee80211_dump_pkt()
H A Dnet80211.c564 ASSERT((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) != in ieee80211_hdrsize()
566 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS) in ieee80211_hdrsize()
596 if ((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL) { in ieee80211_anyhdrsize()
597 switch (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) { in ieee80211_anyhdrsize()
H A Dnet80211_crypto_ccmp.c392 aad[2] = wh->i_fc[0] & 0x8f; /* magic #s */ in ccmp_init()
393 aad[3] = wh->i_fc[1] & 0xc7; /* magic #s */ in ccmp_init()
H A Dnet80211_ht.c388 ASSERT(wh->i_fc[0] == IEEE80211_FC0_QOSDATA); in ieee80211_ampdu_reorder()
390 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == IEEE80211_FC1_DIR_DSTODS) in ieee80211_ampdu_reorder()
535 wh->i_fc[1] & IEEE80211_FC1_RETRY ? " (retransmit)" : ""); in ieee80211_ampdu_reorder()
605 wh->i_fc[1] & IEEE80211_FC1_RETRY ? " (retransmit)" : ""); in ieee80211_recv_bar()
1429 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | in ieee80211_send_bar()
1431 wh->i_fc[1] = 0; in ieee80211_send_bar()
H A Dnet80211_crypto_tkip.c622 switch (wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) { in michael_mic_hdr()
641 if (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_QOS) { in michael_mic_hdr()
H A Dnet80211_node.c1205 ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL)
1208 ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == \
1212 ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == \
/titanic_44/usr/src/uts/common/io/arn/
H A Darn_core.h175 (((_wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == \
179 (((_wh)->i_fc[0] & (IEEE80211_FC0_TYPE_MASK | \
184 (((_wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == \
188 (((_wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == \
192 (((_wh)->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == \
196 (((_wh)->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == \
200 (((_wh)->i_fc[1] & IEEE80211_FC1_MORE_FRAG) == \
H A Darn_recv.c533 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in arn_rx_handler()
550 if ((wh->i_fc[1] & IEEE80211_FC1_DIR_MASK) == in arn_rx_handler()
610 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in arn_rx_handler()
612 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in arn_rx_handler()
H A Darn_xmit.c946 if (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_QOS) { in arn_test_get_txq()
1020 if (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_QOS) { in assign_aggr_tid_seqno()
1921 iswep = wh->i_fc[1] & IEEE80211_FC1_WEP; in arn_tx_start()
1979 if (is_padding && (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in arn_tx_start()
1998 switch (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) { in arn_tx_start()
2000 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in arn_tx_start()
2015 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in arn_tx_start()
2148 if ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in arn_tx()
/titanic_44/usr/src/uts/common/io/ral/
H A Dral_rate.c88 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL) in ral_rssadapt_choose()
H A Drt2560.c1484 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in rt2560_mgmt_send()
1515 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in rt2560_mgmt_send()
1517 (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in rt2560_mgmt_send()
1615 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in rt2560_send()
/titanic_44/usr/src/uts/common/io/ath/
H A Dath_main.c607 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in ath_rx_handler()
693 iswep = wh->i_fc[1] & IEEE80211_FC1_WEP; in ath_tx_start()
770 switch (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) { in ath_tx_start()
772 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ath_tx_start()
792 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ath_tx_start()
835 (wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != in ath_tx_start()
1017 if ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in ath_xmit()
/titanic_44/usr/src/uts/common/io/wpi/
H A Dwpi.c2162 if (wh->i_fc[1] & IEEE80211_FC1_WEP) {
2189 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) ==
2214 if (wh->i_fc[1] & IEEE80211_FC1_WEP)
2228 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) ==
2231 if ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) ==
2235 if (((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) ==
2237 ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) ==
2942 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_MGT |
2944 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS;
/titanic_44/usr/src/uts/common/io/iwi/
H A Dipw2200.c2269 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in ipw2200_send()
2676 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_MGT) in ipw2200_fix_channel()
2679 subtype = wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK; in ipw2200_fix_channel()
2745 wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK, in ipw2200_rcv_frame()
2746 wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK, in ipw2200_rcv_frame()
2747 wh->i_fc[1] & IEEE80211_FC1_WEP, in ipw2200_rcv_frame()
/titanic_44/usr/src/uts/common/io/rtw/
H A Drtw.c2045 if ((wh->i_fc[1] & IEEE80211_FC1_WEP) != 0) { in rtw_compute_duration()
2071 (wh->i_fc[1] & IEEE80211_FC0_TYPE_MASK) != in rtw_compute_duration()
2107 iswep = wh->i_fc[1] & IEEE80211_FC1_WEP; in rtw_assembly_80211()
2157 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in rtw_assembly_80211()
2191 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in rtw_assembly_80211()
2194 if ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in rtw_assembly_80211()
2671 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in rtw_intr_rx()
/titanic_44/usr/src/uts/common/io/zyd/
H A Dzyd.c351 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in zyd_send()
419 (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) in zyd_send()
/titanic_44/usr/src/uts/common/io/atu/
H A Datu.c634 if (wh->i_fc[1] & IEEE80211_FC1_WEP) in atu_rxeof()
635 wh->i_fc[1] &= ~IEEE80211_FC1_WEP; in atu_rxeof()
815 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in atu_send()
/titanic_44/usr/src/uts/common/io/iwh/
H A Diwh.c3130 if (mp_wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_QOS) { in iwh_send()
3246 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in iwh_send()
3286 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in iwh_send()
3303 if ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in iwh_send()
3313 if (((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in iwh_send()
3315 ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in iwh_send()
3378 ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in iwh_send()
4170 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_MGT | in iwh_scan()
4172 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS; in iwh_scan()
/titanic_44/usr/src/uts/common/io/iwp/
H A Diwp.c3109 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in iwp_send()
3147 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in iwp_send()
3164 if ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in iwp_send()
3174 if (((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in iwp_send()
3176 ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in iwp_send()
3968 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_MGT | in iwp_scan()
3970 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS; in iwp_scan()
/titanic_44/usr/src/uts/common/io/ural/
H A Dural.c733 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in ural_send()
779 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in ural_send()
781 (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in ural_send()
/titanic_44/usr/src/uts/common/io/iwk/
H A Diwk2.c2770 if (wh->i_fc[1] & IEEE80211_FC1_WEP) { in iwk_send()
2797 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in iwk_send()
2842 if ((wh->i_fc[0] & IEEE80211_FC0_TYPE_MASK) == in iwk_send()
2845 if ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in iwk_send()
2849 if (((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in iwk_send()
2851 ((wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) == in iwk_send()
3700 wh->i_fc[0] = IEEE80211_FC0_VERSION_0 | IEEE80211_FC0_TYPE_MGT | in iwk_scan()
3702 wh->i_fc[1] = IEEE80211_FC1_DIR_NODS; in iwk_scan()

12