Home
last modified time | relevance | path

Searched refs:ieee (Results 1 - 25 of 116) sorted by relevance

12345

/kernel/linux/linux-6.6/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_softmac.c40 static unsigned int ieee80211_MFIE_rate_len(struct ieee80211_device *ieee) in ieee80211_MFIE_rate_len() argument
44 if (ieee->modulation & IEEE80211_CCK_MODULATION) in ieee80211_MFIE_rate_len()
47 if (ieee->modulation & IEEE80211_OFDM_MODULATION) in ieee80211_MFIE_rate_len()
57 static void ieee80211_MFIE_Brate(struct ieee80211_device *ieee, u8 **tag_p) in ieee80211_MFIE_Brate() argument
61 if (ieee->modulation & IEEE80211_CCK_MODULATION) { in ieee80211_MFIE_Brate()
74 static void ieee80211_MFIE_Grate(struct ieee80211_device *ieee, u8 **tag_p) in ieee80211_MFIE_Grate() argument
78 if (ieee->modulation & IEEE80211_OFDM_MODULATION) { in ieee80211_MFIE_Grate()
95 static void ieee80211_WMM_Info(struct ieee80211_device *ieee, u8 **tag_p) in ieee80211_WMM_Info() argument
108 if (ieee->current_network.wmm_info & 0x80) in ieee80211_WMM_Info()
119 static void ieee80211_TURBO_Info(struct ieee80211_device *ieee, u argument
138 enqueue_mgmt(struct ieee80211_device *ieee, struct sk_buff *skb) enqueue_mgmt() argument
157 dequeue_mgmt(struct ieee80211_device *ieee) dequeue_mgmt() argument
172 init_mgmt_queue(struct ieee80211_device *ieee) init_mgmt_queue() argument
177 MgntQuery_MgntFrameTxRate(struct ieee80211_device *ieee) MgntQuery_MgntFrameTxRate() argument
212 softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee) softmac_mgmt_xmit() argument
280 softmac_ps_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee) softmac_ps_mgmt_xmit() argument
310 ieee80211_probe_req(struct ieee80211_device *ieee) ieee80211_probe_req() argument
350 ieee80211_send_beacon(struct ieee80211_device *ieee) ieee80211_send_beacon() argument
379 struct ieee80211_device *ieee = ieee80211_send_beacon_cb() local
388 ieee80211_send_probe(struct ieee80211_device *ieee) ieee80211_send_probe() argument
400 ieee80211_send_probe_requests(struct ieee80211_device *ieee) ieee80211_send_probe_requests() argument
411 ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee) ieee80211_softmac_scan_syncro() argument
475 struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, softmac_scan_wq); ieee80211_softmac_scan_wq() local
513 ieee80211_beacons_start(struct ieee80211_device *ieee) ieee80211_beacons_start() argument
524 ieee80211_beacons_stop(struct ieee80211_device *ieee) ieee80211_beacons_stop() argument
536 ieee80211_stop_send_beacons(struct ieee80211_device *ieee) ieee80211_stop_send_beacons() argument
545 ieee80211_start_send_beacons(struct ieee80211_device *ieee) ieee80211_start_send_beacons() argument
554 ieee80211_softmac_stop_scan(struct ieee80211_device *ieee) ieee80211_softmac_stop_scan() argument
573 ieee80211_stop_scan(struct ieee80211_device *ieee) ieee80211_stop_scan() argument
583 ieee80211_start_scan(struct ieee80211_device *ieee) ieee80211_start_scan() argument
600 ieee80211_start_scan_syncro(struct ieee80211_device *ieee) ieee80211_start_scan_syncro() argument
615 ieee80211_authentication_req(struct ieee80211_network *beacon, struct ieee80211_device *ieee, int challengelen) ieee80211_authentication_req() argument
657 ieee80211_probe_resp(struct ieee80211_device *ieee, u8 *dest) ieee80211_probe_resp() argument
802 ieee80211_assoc_resp(struct ieee80211_device *ieee, u8 *dest) ieee80211_assoc_resp() argument
859 ieee80211_auth_resp(struct ieee80211_device *ieee, int status, u8 *dest) ieee80211_auth_resp() argument
886 ieee80211_null_func(struct ieee80211_device *ieee, short pwr) ieee80211_null_func() argument
910 ieee80211_resp_to_assoc_rq(struct ieee80211_device *ieee, u8 *dest) ieee80211_resp_to_assoc_rq() argument
918 ieee80211_resp_to_auth(struct ieee80211_device *ieee, int s, u8 *dest) ieee80211_resp_to_auth() argument
927 ieee80211_resp_to_probe(struct ieee80211_device *ieee, u8 *dest) ieee80211_resp_to_probe() argument
935 ieee80211_association_req(struct ieee80211_network *beacon, struct ieee80211_device *ieee) ieee80211_association_req() argument
1158 ieee80211_associate_abort(struct ieee80211_device *ieee) ieee80211_associate_abort() argument
1194 ieee80211_associate_step1(struct ieee80211_device *ieee) ieee80211_associate_step1() argument
1219 ieee80211_auth_challenge(struct ieee80211_device *ieee, u8 *challenge, int chlen) ieee80211_auth_challenge() argument
1251 ieee80211_associate_step2(struct ieee80211_device *ieee) ieee80211_associate_step2() argument
1272 struct ieee80211_device *ieee = container_of(work, struct ieee80211_device, associate_complete_wq); ieee80211_associate_complete_wq() local
1311 ieee80211_associate_complete(struct ieee80211_device *ieee) ieee80211_associate_complete() argument
1324 struct ieee80211_device *ieee = container_of(work, struct ieee80211_device, associate_procedure_wq); ieee80211_associate_procedure_wq() local
1342 ieee80211_softmac_new_net(struct ieee80211_device *ieee, struct ieee80211_network *net) ieee80211_softmac_new_net() argument
1442 ieee80211_softmac_check_all_nets(struct ieee80211_device *ieee) ieee80211_softmac_check_all_nets() argument
1511 probe_rq_parse(struct ieee80211_device *ieee, struct sk_buff *skb, u8 *src) probe_rq_parse() argument
1568 assoc_parse(struct ieee80211_device *ieee, struct sk_buff *skb, int *aid) assoc_parse() argument
1596 ieee80211_rx_probe_rq(struct ieee80211_device *ieee, struct sk_buff *skb) ieee80211_rx_probe_rq() argument
1611 ieee80211_rx_auth_rq(struct ieee80211_device *ieee, struct sk_buff *skb) ieee80211_rx_auth_rq() argument
1625 ieee80211_rx_assoc_rq(struct ieee80211_device *ieee, struct sk_buff *skb) ieee80211_rx_assoc_rq() argument
1638 ieee80211_sta_ps_send_null_frame(struct ieee80211_device *ieee, short pwr) ieee80211_sta_ps_send_null_frame() argument
1648 ieee80211_sta_ps_sleep(struct ieee80211_device *ieee, u32 *time_h, u32 *time_l) ieee80211_sta_ps_sleep() argument
1697 struct ieee80211_device *ieee; ieee80211_sta_ps() local
1753 ieee80211_sta_wakeup(struct ieee80211_device *ieee, short nl) ieee80211_sta_wakeup() argument
1775 ieee80211_ps_tx_ack(struct ieee80211_device *ieee, short success) ieee80211_ps_tx_ack() argument
1802 ieee80211_process_action(struct ieee80211_device *ieee, struct sk_buff *skb) ieee80211_process_action() argument
1830 ieee80211_check_auth_response(struct ieee80211_device *ieee, struct sk_buff *skb) ieee80211_check_auth_response() argument
1890 ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb, struct ieee80211_rx_stats *rx_stats, u16 type, u16 stype) ieee80211_rx_frame_softmac() argument
2038 ieee80211_softmac_xmit(struct ieee80211_txb *txb, struct ieee80211_device *ieee) ieee80211_softmac_xmit() argument
2093 ieee80211_resume_tx(struct ieee80211_device *ieee) ieee80211_resume_tx() argument
2113 ieee80211_reset_queue(struct ieee80211_device *ieee) ieee80211_reset_queue() argument
2128 ieee80211_wake_queue(struct ieee80211_device *ieee) ieee80211_wake_queue() argument
2167 ieee80211_stop_queue(struct ieee80211_device *ieee) ieee80211_stop_queue() argument
2182 ieee80211_start_master_bss(struct ieee80211_device *ieee) ieee80211_start_master_bss() argument
2208 ieee80211_start_monitor_mode(struct ieee80211_device *ieee) ieee80211_start_monitor_mode() argument
2220 struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, start_ibss_wq); ieee80211_start_ibss_wq() local
2323 ieee80211_start_ibss(struct ieee80211_device *ieee) ieee80211_start_ibss() argument
2329 ieee80211_start_bss(struct ieee80211_device *ieee) ieee80211_start_bss() argument
2364 ieee80211_disassociate(struct ieee80211_device *ieee) ieee80211_disassociate() argument
2385 struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, associate_retry_wq); ieee80211_associate_retry_wq() local
2423 ieee80211_get_beacon_(struct ieee80211_device *ieee) ieee80211_get_beacon_() argument
2441 ieee80211_get_beacon(struct ieee80211_device *ieee) ieee80211_get_beacon() argument
2462 ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee) ieee80211_softmac_stop_protocol() argument
2471 ieee80211_stop_protocol(struct ieee80211_device *ieee) ieee80211_stop_protocol() argument
2488 ieee80211_softmac_start_protocol(struct ieee80211_device *ieee) ieee80211_softmac_start_protocol() argument
2497 ieee80211_start_protocol(struct ieee80211_device *ieee) ieee80211_start_protocol() argument
2548 ieee80211_softmac_init(struct ieee80211_device *ieee) ieee80211_softmac_init() argument
2614 ieee80211_softmac_free(struct ieee80211_device *ieee) ieee80211_softmac_free() argument
2630 ieee80211_wpa_enable(struct ieee80211_device *ieee, int value) ieee80211_wpa_enable() argument
2639 ieee80211_wpa_assoc_frame(struct ieee80211_device *ieee, char *wpa_ie, int wpa_ie_len) ieee80211_wpa_assoc_frame() argument
2648 ieee80211_wpa_mlme(struct ieee80211_device *ieee, int command, int reason) ieee80211_wpa_mlme() argument
2669 ieee80211_wpa_set_wpa_ie(struct ieee80211_device *ieee, struct ieee_param *param, int plen) ieee80211_wpa_set_wpa_ie() argument
2699 ieee80211_wpa_set_auth_algs(struct ieee80211_device *ieee, int value) ieee80211_wpa_set_auth_algs() argument
2727 ieee80211_wpa_set_param(struct ieee80211_device *ieee, u8 name, u32 value) ieee80211_wpa_set_param() argument
2801 ieee80211_wpa_set_encryption(struct ieee80211_device *ieee, struct ieee_param *param, int param_len) ieee80211_wpa_set_encryption() argument
2950 ieee80211_disassociate_skb(struct ieee80211_network *beacon, struct ieee80211_device *ieee, u8 asRsn) ieee80211_disassociate_skb() argument
2974 SendDisassociation(struct ieee80211_device *ieee, u8 *asSta, u8 asRsn ) SendDisassociation() argument
2990 ieee80211_wpa_supplicant_ioctl(struct ieee80211_device *ieee, struct iw_point *p) ieee80211_wpa_supplicant_ioctl() argument
3045 notify_wx_assoc_event(struct ieee80211_device *ieee) notify_wx_assoc_event() argument
[all...]
H A Dieee80211_softmac_wx.c30 int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info *a, in ieee80211_wx_set_freq() argument
36 mutex_lock(&ieee->wx_mutex); in ieee80211_wx_set_freq()
38 if (ieee->iw_mode == IW_MODE_INFRA) { in ieee80211_wx_set_freq()
65 if (!(GET_DOT11D_INFO(ieee)->channel_map)[fwrq->m]) { in ieee80211_wx_set_freq()
69 ieee->current_network.channel = fwrq->m; in ieee80211_wx_set_freq()
70 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_wx_set_freq()
72 if (ieee->iw_mode == IW_MODE_ADHOC || ieee in ieee80211_wx_set_freq()
86 ieee80211_wx_get_freq(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) ieee80211_wx_get_freq() argument
104 ieee80211_wx_get_wap(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_get_wap() argument
133 ieee80211_wx_set_wap(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *awrq, char *extra) ieee80211_wx_set_wap() argument
180 ieee80211_wx_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) ieee80211_wx_get_essid() argument
216 ieee80211_wx_set_rate(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_set_rate() argument
229 ieee80211_wx_get_rate(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_get_rate() argument
243 ieee80211_wx_set_rts(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_set_rts() argument
259 ieee80211_wx_get_rts(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_get_rts() argument
270 ieee80211_wx_set_mode(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) ieee80211_wx_set_mode() argument
302 struct ieee80211_device *ieee = container_of(work, struct ieee80211_device, wx_sync_scan_wq); ieee80211_wx_sync_scan_wq() local
359 ieee80211_wx_set_scan(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) ieee80211_wx_set_scan() argument
383 ieee80211_wx_set_essid(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *extra) ieee80211_wx_set_essid() argument
437 ieee80211_wx_get_mode(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) ieee80211_wx_get_mode() argument
446 ieee80211_wx_set_rawtx(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_set_rawtx() argument
483 ieee80211_wx_get_name(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_get_name() argument
510 ieee80211_wx_set_power(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_set_power() argument
562 ieee80211_wx_get_power(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_get_power() argument
[all...]
H A Dieee80211_module.c46 static inline int ieee80211_networks_allocate(struct ieee80211_device *ieee) in ieee80211_networks_allocate() argument
48 if (ieee->networks) in ieee80211_networks_allocate()
51 ieee->networks = kcalloc(MAX_NETWORK_COUNT, in ieee80211_networks_allocate()
54 if (!ieee->networks) { in ieee80211_networks_allocate()
55 netdev_warn(ieee->dev, "Out of memory allocating beacons\n"); in ieee80211_networks_allocate()
62 static inline void ieee80211_networks_free(struct ieee80211_device *ieee) in ieee80211_networks_free() argument
64 if (!ieee->networks) in ieee80211_networks_free()
66 kfree(ieee->networks); in ieee80211_networks_free()
67 ieee->networks = NULL; in ieee80211_networks_free()
70 static inline void ieee80211_networks_initialize(struct ieee80211_device *ieee) in ieee80211_networks_initialize() argument
82 struct ieee80211_device *ieee; alloc_ieee80211() local
173 struct ieee80211_device *ieee = netdev_priv(dev); free_ieee80211() local
[all...]
H A Dieee80211_tx.c104 * N parts of size ieee->fts. The first fragment contains the SNAP header and the
109 * So if you have 1500 bytes of payload with ieee->fts set to 500 without
165 struct ieee80211_device *ieee, in ieee80211_encrypt_fragment()
169 struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx]; in ieee80211_encrypt_fragment()
177 if (ieee->tkip_countermeasures && in ieee80211_encrypt_fragment()
183 netdev_dbg(ieee->dev, "TKIP countermeasures: dropped " in ieee80211_encrypt_fragment()
206 netdev_info(ieee->dev, "Encryption failed: len=%d.\n", in ieee80211_encrypt_fragment()
208 ieee->ieee_stats.tx_discards++; in ieee80211_encrypt_fragment()
289 static void ieee80211_tx_query_agg_cap(struct ieee80211_device *ieee, in ieee80211_tx_query_agg_cap() argument
164 ieee80211_encrypt_fragment( struct ieee80211_device *ieee, struct sk_buff *frag, int hdr_len) ieee80211_encrypt_fragment() argument
349 ieee80211_qurey_ShortPreambleMode(struct ieee80211_device *ieee, struct cb_desc *tcb_desc) ieee80211_qurey_ShortPreambleMode() argument
361 ieee80211_query_HTCapShortGI(struct ieee80211_device *ieee, struct cb_desc *tcb_desc) ieee80211_query_HTCapShortGI() argument
381 ieee80211_query_BandwidthMode(struct ieee80211_device *ieee, struct cb_desc *tcb_desc) ieee80211_query_BandwidthMode() argument
402 ieee80211_query_protectionmode(struct ieee80211_device *ieee, struct cb_desc *tcb_desc, struct sk_buff *skb) ieee80211_query_protectionmode() argument
501 ieee80211_txrate_selectmode(struct ieee80211_device *ieee, struct cb_desc *tcb_desc) ieee80211_txrate_selectmode() argument
515 ieee80211_query_seqnum(struct ieee80211_device *ieee, struct sk_buff *skb, u8 *dst) ieee80211_query_seqnum() argument
531 struct ieee80211_device *ieee = netdev_priv(dev); ieee80211_xmit() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/rtl8192e/
H A Drtllib_softmac.c23 static void rtllib_sta_wakeup(struct rtllib_device *ieee, short nl);
34 static unsigned int rtllib_MFIE_rate_len(struct rtllib_device *ieee) in rtllib_MFIE_rate_len() argument
48 static void rtllib_MFIE_Brate(struct rtllib_device *ieee, u8 **tag_p) in rtllib_MFIE_Brate() argument
65 static void rtllib_MFIE_Grate(struct rtllib_device *ieee, u8 **tag_p) in rtllib_MFIE_Grate() argument
86 static void rtllib_WMM_Info(struct rtllib_device *ieee, u8 **tag_p) in rtllib_WMM_Info() argument
102 static void rtllib_TURBO_Info(struct rtllib_device *ieee, u8 **tag_p) in rtllib_TURBO_Info() argument
117 netdev_alert(ieee->dev, "This is enable turbo mode IE process\n"); in rtllib_TURBO_Info()
120 static void enqueue_mgmt(struct rtllib_device *ieee, struct sk_buff *skb) in enqueue_mgmt() argument
124 nh = (ieee->mgmt_queue_head + 1) % MGMT_QUEUE_NUM; in enqueue_mgmt()
129 * if (nh == ieee in enqueue_mgmt()
136 init_mgmt_queue(struct rtllib_device *ieee) init_mgmt_queue() argument
141 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee) MgntQuery_TxRateExcludeCCKRates() argument
166 MgntQuery_MgntFrameTxRate(struct rtllib_device *ieee) MgntQuery_MgntFrameTxRate() argument
186 softmac_mgmt_xmit(struct sk_buff *skb, struct rtllib_device *ieee) softmac_mgmt_xmit() argument
263 softmac_ps_mgmt_xmit(struct sk_buff *skb, struct rtllib_device *ieee) softmac_ps_mgmt_xmit() argument
314 rtllib_probe_req(struct rtllib_device *ieee) rtllib_probe_req() argument
356 rtllib_send_beacon(struct rtllib_device *ieee) rtllib_send_beacon() argument
376 struct rtllib_device *ieee = rtllib_send_beacon_cb() local
389 struct rtllib_device *ieee = netdev_priv_rsl(dev); rtllib_EnableNetMonitorMode() local
402 struct rtllib_device *ieee = netdev_priv_rsl(dev); rtllib_DisableNetMonitorMode() local
420 struct rtllib_device *ieee = netdev_priv_rsl(dev); rtllib_EnableIntelPromiscuousMode() local
440 struct rtllib_device *ieee = netdev_priv_rsl(dev); rtllib_DisableIntelPromiscuousMode() local
452 rtllib_send_probe(struct rtllib_device *ieee) rtllib_send_probe() argument
463 rtllib_send_probe_requests(struct rtllib_device *ieee) rtllib_send_probe_requests() argument
472 rtllib_update_active_chan_map(struct rtllib_device *ieee) rtllib_update_active_chan_map() argument
481 rtllib_softmac_scan_syncro(struct rtllib_device *ieee) rtllib_softmac_scan_syncro() argument
553 struct rtllib_device *ieee = container_of_dwork_rsl(data, rtllib_softmac_scan_wq() local
610 rtllib_beacons_start(struct rtllib_device *ieee) rtllib_beacons_start() argument
622 rtllib_beacons_stop(struct rtllib_device *ieee) rtllib_beacons_stop() argument
634 rtllib_stop_send_beacons(struct rtllib_device *ieee) rtllib_stop_send_beacons() argument
642 rtllib_start_send_beacons(struct rtllib_device *ieee) rtllib_start_send_beacons() argument
650 rtllib_softmac_stop_scan(struct rtllib_device *ieee) rtllib_softmac_stop_scan() argument
664 rtllib_stop_scan(struct rtllib_device *ieee) rtllib_stop_scan() argument
671 rtllib_stop_scan_syncro(struct rtllib_device *ieee) rtllib_stop_scan_syncro() argument
678 rtllib_act_scanning(struct rtllib_device *ieee, bool sync_scan) rtllib_act_scanning() argument
692 rtllib_start_scan(struct rtllib_device *ieee) rtllib_start_scan() argument
710 rtllib_start_scan_syncro(struct rtllib_device *ieee) rtllib_start_scan_syncro() argument
723 rtllib_authentication_req(struct rtllib_network *beacon, struct rtllib_device *ieee, int challengelen, u8 *daddr) rtllib_authentication_req() argument
764 rtllib_probe_resp(struct rtllib_device *ieee, const u8 *dest) rtllib_probe_resp() argument
912 rtllib_null_func(struct rtllib_device *ieee, short pwr) rtllib_null_func() argument
936 rtllib_pspoll_func(struct rtllib_device *ieee) rtllib_pspoll_func() argument
959 rtllib_resp_to_probe(struct rtllib_device *ieee, u8 *dest) rtllib_resp_to_probe() argument
967 SecIsInPMKIDList(struct rtllib_device *ieee, u8 *bssid) SecIsInPMKIDList() argument
984 rtllib_association_req(struct rtllib_network *beacon, struct rtllib_device *ieee) rtllib_association_req() argument
1229 rtllib_associate_abort(struct rtllib_device *ieee) rtllib_associate_abort() argument
1266 rtllib_associate_step1(struct rtllib_device *ieee, u8 *daddr) rtllib_associate_step1() argument
1290 rtllib_auth_challenge(struct rtllib_device *ieee, u8 *challenge, int chlen) rtllib_auth_challenge() argument
1322 rtllib_associate_step2(struct rtllib_device *ieee) rtllib_associate_step2() argument
1343 struct rtllib_device *ieee = (struct rtllib_device *) rtllib_associate_complete_wq() local
1393 rtllib_sta_send_associnfo(struct rtllib_device *ieee) rtllib_sta_send_associnfo() argument
1397 rtllib_associate_complete(struct rtllib_device *ieee) rtllib_associate_complete() argument
1409 struct rtllib_device *ieee = container_of_dwork_rsl(data, rtllib_associate_procedure_wq() local
1430 rtllib_softmac_new_net(struct rtllib_device *ieee, struct rtllib_network *net) rtllib_softmac_new_net() argument
1562 rtllib_softmac_check_all_nets(struct rtllib_device *ieee) rtllib_softmac_check_all_nets() argument
1616 probe_rq_parse(struct rtllib_device *ieee, struct sk_buff *skb, u8 *src) probe_rq_parse() argument
1662 assoc_parse(struct rtllib_device *ieee, struct sk_buff *skb, int *aid) assoc_parse() argument
1691 rtllib_rx_probe_rq(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_probe_rq() argument
1702 rtllib_sta_ps_send_null_frame(struct rtllib_device *ieee, short pwr) rtllib_sta_ps_send_null_frame() argument
1711 rtllib_sta_ps_send_pspoll_frame(struct rtllib_device *ieee) rtllib_sta_ps_send_pspoll_frame() argument
1719 rtllib_sta_ps_sleep(struct rtllib_device *ieee, u64 *time) rtllib_sta_ps_sleep() argument
1805 struct rtllib_device *ieee; rtllib_sta_ps() local
1855 rtllib_sta_wakeup(struct rtllib_device *ieee, short nl) rtllib_sta_wakeup() argument
1890 rtllib_ps_tx_ack(struct rtllib_device *ieee, short success) rtllib_ps_tx_ack() argument
1921 rtllib_process_action(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_process_action() argument
1956 rtllib_rx_assoc_resp(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) rtllib_rx_assoc_resp() argument
2031 rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_auth_resp() argument
2085 rtllib_rx_auth(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) rtllib_rx_auth() argument
2100 rtllib_rx_deauth(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_deauth() argument
2133 rtllib_rx_frame_softmac(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, u16 type, u16 stype) rtllib_rx_frame_softmac() argument
2188 rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee) rtllib_softmac_xmit() argument
2236 rtllib_reset_queue(struct rtllib_device *ieee) rtllib_reset_queue() argument
2251 rtllib_stop_all_queues(struct rtllib_device *ieee) rtllib_stop_all_queues() argument
2261 rtllib_wake_all_queues(struct rtllib_device *ieee) rtllib_wake_all_queues() argument
2266 rtllib_start_monitor_mode(struct rtllib_device *ieee) rtllib_start_monitor_mode() argument
2275 struct rtllib_device *ieee = container_of_dwork_rsl(data, rtllib_start_ibss_wq() local
2383 rtllib_start_ibss(struct rtllib_device *ieee) rtllib_start_ibss() argument
2389 rtllib_start_bss(struct rtllib_device *ieee) rtllib_start_bss() argument
2420 struct rtllib_device *ieee = container_of_dwork_rsl(data, rtllib_link_change_wq() local
2425 rtllib_disassociate(struct rtllib_device *ieee) rtllib_disassociate() argument
2444 struct rtllib_device *ieee = container_of_dwork_rsl(data, rtllib_associate_retry_wq() local
2484 rtllib_get_beacon_(struct rtllib_device *ieee) rtllib_get_beacon_() argument
2503 rtllib_get_beacon(struct rtllib_device *ieee) rtllib_get_beacon() argument
2524 rtllib_softmac_stop_protocol(struct rtllib_device *ieee, u8 mesh_flag, u8 shutdown) rtllib_softmac_stop_protocol() argument
2534 rtllib_stop_protocol(struct rtllib_device *ieee, u8 shutdown) rtllib_stop_protocol() argument
2573 rtllib_softmac_start_protocol(struct rtllib_device *ieee, u8 mesh_flag) rtllib_softmac_start_protocol() argument
2581 rtllib_start_protocol(struct rtllib_device *ieee) rtllib_start_protocol() argument
2630 rtllib_softmac_init(struct rtllib_device *ieee) rtllib_softmac_init() argument
2704 rtllib_softmac_free(struct rtllib_device *ieee) rtllib_softmac_free() argument
2726 rtllib_disauth_skb(struct rtllib_network *beacon, struct rtllib_device *ieee, u16 asRsn) rtllib_disauth_skb() argument
2752 rtllib_disassociate_skb(struct rtllib_network *beacon, struct rtllib_device *ieee, u16 asRsn) rtllib_disassociate_skb() argument
2778 SendDisassociation(struct rtllib_device *ieee, bool deauth, u16 asRsn) SendDisassociation() argument
2792 rtllib_ap_sec_type(struct rtllib_device *ieee) rtllib_ap_sec_type() argument
2901 notify_wx_assoc_event(struct rtllib_device *ieee) notify_wx_assoc_event() argument
[all...]
H A Drtllib_softmac_wx.c19 int rtllib_wx_set_freq(struct rtllib_device *ieee, struct iw_request_info *a, in rtllib_wx_set_freq() argument
25 mutex_lock(&ieee->wx_mutex); in rtllib_wx_set_freq()
27 if (ieee->iw_mode == IW_MODE_INFRA) { in rtllib_wx_set_freq()
47 if (ieee->active_channel_map[fwrq->m] != 1) { in rtllib_wx_set_freq()
51 ieee->current_network.channel = fwrq->m; in rtllib_wx_set_freq()
52 ieee->set_chan(ieee->dev, ieee->current_network.channel); in rtllib_wx_set_freq()
54 if (ieee->iw_mode == IW_MODE_ADHOC) in rtllib_wx_set_freq()
55 if (ieee in rtllib_wx_set_freq()
68 rtllib_wx_get_freq(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) rtllib_wx_get_freq() argument
83 rtllib_wx_get_wap(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_get_wap() argument
112 rtllib_wx_set_wap(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *awrq, char *extra) rtllib_wx_set_wap() argument
164 rtllib_wx_get_essid(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) rtllib_wx_get_essid() argument
200 rtllib_wx_set_rate(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_set_rate() argument
211 rtllib_wx_get_rate(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_get_rate() argument
225 rtllib_wx_set_rts(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_set_rts() argument
241 rtllib_wx_get_rts(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_get_rts() argument
252 rtllib_wx_set_mode(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) rtllib_wx_set_mode() argument
300 struct rtllib_device *ieee = container_of(data, struct rtllib_device, wx_sync_scan_wq); rtllib_wx_sync_scan_wq() local
373 rtllib_wx_set_scan(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) rtllib_wx_set_scan() argument
394 rtllib_wx_set_essid(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *extra) rtllib_wx_set_essid() argument
442 rtllib_wx_get_mode(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) rtllib_wx_get_mode() argument
450 rtllib_wx_set_rawtx(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_set_rawtx() argument
482 rtllib_wx_get_name(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_get_name() argument
493 rtllib_wx_set_power(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_set_power() argument
545 rtllib_wx_get_power(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_get_power() argument
[all...]
H A Drtllib_module.c40 static inline int rtllib_networks_allocate(struct rtllib_device *ieee) in rtllib_networks_allocate() argument
42 if (ieee->networks) in rtllib_networks_allocate()
45 ieee->networks = kcalloc(MAX_NETWORK_COUNT, in rtllib_networks_allocate()
47 if (!ieee->networks) in rtllib_networks_allocate()
53 static inline void rtllib_networks_free(struct rtllib_device *ieee) in rtllib_networks_free() argument
55 if (!ieee->networks) in rtllib_networks_free()
57 kfree(ieee->networks); in rtllib_networks_free()
58 ieee->networks = NULL; in rtllib_networks_free()
61 static inline void rtllib_networks_initialize(struct rtllib_device *ieee) in rtllib_networks_initialize() argument
65 INIT_LIST_HEAD(&ieee in rtllib_networks_initialize()
74 struct rtllib_device *ieee = NULL; alloc_rtllib() local
157 struct rtllib_device *ieee = (struct rtllib_device *) free_rtllib() local
[all...]
H A Drtl819x_TSProc.c15 struct rtllib_device *ieee = container_of(pRxTs, struct rtllib_device, in RxPktPendingTimeout() local
24 spin_lock_irqsave(&(ieee->reorder_spinlock), flags); in RxPktPendingTimeout()
44 netdev_dbg(ieee->dev, in RxPktPendingTimeout()
47 ieee->stats_IndicateArray[index] = in RxPktPendingTimeout()
52 &ieee->RxReorder_Unused_List); in RxPktPendingTimeout()
64 netdev_warn(ieee->dev, in RxPktPendingTimeout()
67 spin_unlock_irqrestore(&(ieee->reorder_spinlock), in RxPktPendingTimeout()
71 rtllib_indicate_packets(ieee, ieee->stats_IndicateArray, index); in RxPktPendingTimeout()
78 msecs_to_jiffies(ieee in RxPktPendingTimeout()
88 struct rtllib_device *ieee = container_of(pTxTs, struct rtllib_device, TsAddBaProcess() local
124 TSInitialize(struct rtllib_device *ieee) TSInitialize() argument
176 SearchAdmitTRStream(struct rtllib_device *ieee, u8 *Addr, u8 TID, enum tr_select TxRxSelect) SearchAdmitTRStream() argument
248 GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *Addr, u8 TID, enum tr_select TxRxSelect, bool bAddNewTs) GetTs() argument
351 RemoveTsEntry(struct rtllib_device *ieee, struct ts_common_info *pTs, enum tr_select TxRxSelect) RemoveTsEntry() argument
391 RemovePeerTS(struct rtllib_device *ieee, u8 *Addr) RemovePeerTS() argument
433 RemoveAllTS(struct rtllib_device *ieee) RemoveAllTS() argument
462 TsStartAddBaProcess(struct rtllib_device *ieee, struct tx_ts_record *pTxTS) TsStartAddBaProcess() argument
[all...]
H A Drtl819x_HTProc.c70 void HTUpdateDefaultSetting(struct rtllib_device *ieee) in HTUpdateDefaultSetting() argument
72 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTUpdateDefaultSetting()
94 ieee->tx_dis_rate_fallback = 0; in HTUpdateDefaultSetting()
95 ieee->tx_use_drv_assinged_rate = 0; in HTUpdateDefaultSetting()
97 ieee->bTxEnableFwCalcDur = 1; in HTUpdateDefaultSetting()
106 static u16 HTMcsToDataRate(struct rtllib_device *ieee, u8 nMcsRate) in HTMcsToDataRate() argument
108 struct rt_hi_throughput *ht_info = ieee->ht_info; in HTMcsToDataRate()
117 u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate) in TxCountToDataRate() argument
142 bool IsHTHalfNmodeAPs(struct rtllib_device *ieee) in IsHTHalfNmodeAPs() argument
145 struct rtllib_network *net = &ieee in IsHTHalfNmodeAPs()
167 HTIOTPeerDetermine(struct rtllib_device *ieee) HTIOTPeerDetermine() argument
210 HTIOTActIsDisableMCS14(struct rtllib_device *ieee, u8 *PeerMacAddr) HTIOTActIsDisableMCS14() argument
215 HTIOTActIsDisableMCS15(struct rtllib_device *ieee) HTIOTActIsDisableMCS15() argument
220 HTIOTActIsDisableMCSTwoSpatialStream(struct rtllib_device *ieee) HTIOTActIsDisableMCSTwoSpatialStream() argument
225 HTIOTActIsDisableEDCATurbo(struct rtllib_device *ieee, u8 *PeerMacAddr) HTIOTActIsDisableEDCATurbo() argument
231 HTIOTActIsMgntUseCCK6M(struct rtllib_device *ieee, struct rtllib_network *network) HTIOTActIsMgntUseCCK6M() argument
242 HTIOTActIsCCDFsync(struct rtllib_device *ieee) HTIOTActIsCCDFsync() argument
251 HTIOTActDetermineRaFunc(struct rtllib_device *ieee, bool bPeerRx2ss) HTIOTActDetermineRaFunc() argument
271 HTConstructCapabilityElement(struct rtllib_device *ieee, u8 *posHTCap, u8 *len, u8 IsEncrypt, bool bAssoc) HTConstructCapabilityElement() argument
352 HTConstructInfoElement(struct rtllib_device *ieee, u8 *posHTInfo, u8 *len, u8 IsEncrypt) HTConstructInfoElement() argument
394 HTConstructRT2RTAggElement(struct rtllib_device *ieee, u8 *posRT2RTAgg, u8 *len) HTConstructRT2RTAggElement() argument
416 HT_PickMCSRate(struct rtllib_device *ieee, u8 *pOperateMCS) HT_PickMCSRate() argument
443 HTGetHighestMCSRate(struct rtllib_device *ieee, u8 *pMCSRateSet, u8 *pMCSFilter) HTGetHighestMCSRate() argument
483 HTFilterMCSRate(struct rtllib_device *ieee, u8 *pSupportMCS, u8 *pOperateMCS) HTFilterMCSRate() argument
507 HTOnAssocRsp(struct rtllib_device *ieee) HTOnAssocRsp() argument
619 HTInitializeHTInfo(struct rtllib_device *ieee) HTInitializeHTInfo() argument
684 HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee, struct rtllib_network *pNetwork) HTResetSelfAndSavePeerSetting() argument
758 HT_update_self_and_peer_setting(struct rtllib_device *ieee, struct rtllib_network *pNetwork) HT_update_self_and_peer_setting() argument
772 HTUseDefaultSetting(struct rtllib_device *ieee) HTUseDefaultSetting() argument
808 HTCCheck(struct rtllib_device *ieee, u8 *pFrame) HTCCheck() argument
819 HTSetConnectBwModeCallback(struct rtllib_device *ieee) HTSetConnectBwModeCallback() argument
846 HTSetConnectBwMode(struct rtllib_device *ieee, enum ht_channel_width bandwidth, enum ht_extchnl_offset Offset) HTSetConnectBwMode() argument
[all...]
H A Drtl819x_BAProc.c20 static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_record *pBA) in deactivate_ba_entry() argument
26 static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) in tx_ts_delete_ba() argument
33 deactivate_ba_entry(ieee, pPendingBa); in tx_ts_delete_ba()
38 deactivate_ba_entry(ieee, pAdmittedBa); in tx_ts_delete_ba()
44 static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record *pRxTs) in rx_ts_delete_ba() argument
50 deactivate_ba_entry(ieee, pBa); in rx_ts_delete_ba()
66 static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst, in rtllib_ADDBA() argument
73 u16 len = ieee->tx_headroom + 9; in rtllib_ADDBA()
75 netdev_dbg(ieee->dev, "%s(): frame(%d) sentd to: %pM, ieee in rtllib_ADDBA()
126 rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, struct ba_record *pBA, enum tr_select TxRxSelect, u16 ReasonCode) rtllib_DELBA() argument
176 rtllib_send_ADDBAReq(struct rtllib_device *ieee, u8 *dst, struct ba_record *pBA) rtllib_send_ADDBAReq() argument
189 rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst, struct ba_record *pBA, u16 StatusCode) rtllib_send_ADDBARsp() argument
201 rtllib_send_DELBA(struct rtllib_device *ieee, u8 *dst, struct ba_record *pBA, enum tr_select TxRxSelect, u16 ReasonCode) rtllib_send_DELBA() argument
214 rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_ADDBAReq() argument
303 rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_ADDBARsp() argument
402 rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_DELBA() argument
464 rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *pTS, u8 Policy, u8 bOverwritePending) rtllib_ts_init_add_ba() argument
487 rtllib_ts_init_del_ba(struct rtllib_device *ieee, struct ts_common_info *pTsCommonInfo, enum tr_select TxRxSelect) rtllib_ts_init_del_ba() argument
525 struct rtllib_device *ieee = container_of(pTxTs, struct rtllib_device, rtllib_tx_ba_inact_timeout() local
537 struct rtllib_device *ieee = container_of(pRxTs, struct rtllib_device, rtllib_rx_ba_inact_timeout() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_softmac.c40 static unsigned int ieee80211_MFIE_rate_len(struct ieee80211_device *ieee) in ieee80211_MFIE_rate_len() argument
44 if (ieee->modulation & IEEE80211_CCK_MODULATION) in ieee80211_MFIE_rate_len()
47 if (ieee->modulation & IEEE80211_OFDM_MODULATION) in ieee80211_MFIE_rate_len()
57 static void ieee80211_MFIE_Brate(struct ieee80211_device *ieee, u8 **tag_p) in ieee80211_MFIE_Brate() argument
61 if (ieee->modulation & IEEE80211_CCK_MODULATION) { in ieee80211_MFIE_Brate()
74 static void ieee80211_MFIE_Grate(struct ieee80211_device *ieee, u8 **tag_p) in ieee80211_MFIE_Grate() argument
78 if (ieee->modulation & IEEE80211_OFDM_MODULATION) { in ieee80211_MFIE_Grate()
95 static void ieee80211_WMM_Info(struct ieee80211_device *ieee, u8 **tag_p) in ieee80211_WMM_Info() argument
108 if (ieee->current_network.wmm_info & 0x80) in ieee80211_WMM_Info()
119 static void ieee80211_TURBO_Info(struct ieee80211_device *ieee, u argument
138 enqueue_mgmt(struct ieee80211_device *ieee, struct sk_buff *skb) enqueue_mgmt() argument
157 dequeue_mgmt(struct ieee80211_device *ieee) dequeue_mgmt() argument
172 init_mgmt_queue(struct ieee80211_device *ieee) init_mgmt_queue() argument
177 MgntQuery_MgntFrameTxRate(struct ieee80211_device *ieee) MgntQuery_MgntFrameTxRate() argument
212 softmac_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee) softmac_mgmt_xmit() argument
280 softmac_ps_mgmt_xmit(struct sk_buff *skb, struct ieee80211_device *ieee) softmac_ps_mgmt_xmit() argument
310 ieee80211_probe_req(struct ieee80211_device *ieee) ieee80211_probe_req() argument
350 ieee80211_send_beacon(struct ieee80211_device *ieee) ieee80211_send_beacon() argument
379 struct ieee80211_device *ieee = ieee80211_send_beacon_cb() local
388 ieee80211_send_probe(struct ieee80211_device *ieee) ieee80211_send_probe() argument
400 ieee80211_send_probe_requests(struct ieee80211_device *ieee) ieee80211_send_probe_requests() argument
411 ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee) ieee80211_softmac_scan_syncro() argument
475 struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, softmac_scan_wq); ieee80211_softmac_scan_wq() local
513 ieee80211_beacons_start(struct ieee80211_device *ieee) ieee80211_beacons_start() argument
524 ieee80211_beacons_stop(struct ieee80211_device *ieee) ieee80211_beacons_stop() argument
536 ieee80211_stop_send_beacons(struct ieee80211_device *ieee) ieee80211_stop_send_beacons() argument
545 ieee80211_start_send_beacons(struct ieee80211_device *ieee) ieee80211_start_send_beacons() argument
554 ieee80211_softmac_stop_scan(struct ieee80211_device *ieee) ieee80211_softmac_stop_scan() argument
573 ieee80211_stop_scan(struct ieee80211_device *ieee) ieee80211_stop_scan() argument
583 ieee80211_start_scan(struct ieee80211_device *ieee) ieee80211_start_scan() argument
600 ieee80211_start_scan_syncro(struct ieee80211_device *ieee) ieee80211_start_scan_syncro() argument
615 ieee80211_authentication_req(struct ieee80211_network *beacon, struct ieee80211_device *ieee, int challengelen) ieee80211_authentication_req() argument
657 ieee80211_probe_resp(struct ieee80211_device *ieee, u8 *dest) ieee80211_probe_resp() argument
802 ieee80211_assoc_resp(struct ieee80211_device *ieee, u8 *dest) ieee80211_assoc_resp() argument
859 ieee80211_auth_resp(struct ieee80211_device *ieee, int status, u8 *dest) ieee80211_auth_resp() argument
886 ieee80211_null_func(struct ieee80211_device *ieee, short pwr) ieee80211_null_func() argument
910 ieee80211_resp_to_assoc_rq(struct ieee80211_device *ieee, u8 *dest) ieee80211_resp_to_assoc_rq() argument
918 ieee80211_resp_to_auth(struct ieee80211_device *ieee, int s, u8 *dest) ieee80211_resp_to_auth() argument
927 ieee80211_resp_to_probe(struct ieee80211_device *ieee, u8 *dest) ieee80211_resp_to_probe() argument
935 ieee80211_association_req(struct ieee80211_network *beacon, struct ieee80211_device *ieee) ieee80211_association_req() argument
1158 ieee80211_associate_abort(struct ieee80211_device *ieee) ieee80211_associate_abort() argument
1194 ieee80211_associate_step1(struct ieee80211_device *ieee) ieee80211_associate_step1() argument
1219 ieee80211_auth_challenge(struct ieee80211_device *ieee, u8 *challenge, int chlen) ieee80211_auth_challenge() argument
1251 ieee80211_associate_step2(struct ieee80211_device *ieee) ieee80211_associate_step2() argument
1272 struct ieee80211_device *ieee = container_of(work, struct ieee80211_device, associate_complete_wq); ieee80211_associate_complete_wq() local
1311 ieee80211_associate_complete(struct ieee80211_device *ieee) ieee80211_associate_complete() argument
1324 struct ieee80211_device *ieee = container_of(work, struct ieee80211_device, associate_procedure_wq); ieee80211_associate_procedure_wq() local
1342 ieee80211_softmac_new_net(struct ieee80211_device *ieee, struct ieee80211_network *net) ieee80211_softmac_new_net() argument
1442 ieee80211_softmac_check_all_nets(struct ieee80211_device *ieee) ieee80211_softmac_check_all_nets() argument
1506 probe_rq_parse(struct ieee80211_device *ieee, struct sk_buff *skb, u8 *src) probe_rq_parse() argument
1563 assoc_parse(struct ieee80211_device *ieee, struct sk_buff *skb, int *aid) assoc_parse() argument
1591 ieee80211_rx_probe_rq(struct ieee80211_device *ieee, struct sk_buff *skb) ieee80211_rx_probe_rq() argument
1606 ieee80211_rx_auth_rq(struct ieee80211_device *ieee, struct sk_buff *skb) ieee80211_rx_auth_rq() argument
1620 ieee80211_rx_assoc_rq(struct ieee80211_device *ieee, struct sk_buff *skb) ieee80211_rx_assoc_rq() argument
1633 ieee80211_sta_ps_send_null_frame(struct ieee80211_device *ieee, short pwr) ieee80211_sta_ps_send_null_frame() argument
1643 ieee80211_sta_ps_sleep(struct ieee80211_device *ieee, u32 *time_h, u32 *time_l) ieee80211_sta_ps_sleep() argument
1692 struct ieee80211_device *ieee = from_tasklet(ieee, t, ps_task); ieee80211_sta_ps() local
1747 ieee80211_sta_wakeup(struct ieee80211_device *ieee, short nl) ieee80211_sta_wakeup() argument
1769 ieee80211_ps_tx_ack(struct ieee80211_device *ieee, short success) ieee80211_ps_tx_ack() argument
1796 ieee80211_process_action(struct ieee80211_device *ieee, struct sk_buff *skb) ieee80211_process_action() argument
1824 ieee80211_check_auth_response(struct ieee80211_device *ieee, struct sk_buff *skb) ieee80211_check_auth_response() argument
1884 ieee80211_rx_frame_softmac(struct ieee80211_device *ieee, struct sk_buff *skb, struct ieee80211_rx_stats *rx_stats, u16 type, u16 stype) ieee80211_rx_frame_softmac() argument
2029 ieee80211_softmac_xmit(struct ieee80211_txb *txb, struct ieee80211_device *ieee) ieee80211_softmac_xmit() argument
2084 ieee80211_resume_tx(struct ieee80211_device *ieee) ieee80211_resume_tx() argument
2104 ieee80211_reset_queue(struct ieee80211_device *ieee) ieee80211_reset_queue() argument
2119 ieee80211_wake_queue(struct ieee80211_device *ieee) ieee80211_wake_queue() argument
2158 ieee80211_stop_queue(struct ieee80211_device *ieee) ieee80211_stop_queue() argument
2173 ieee80211_start_master_bss(struct ieee80211_device *ieee) ieee80211_start_master_bss() argument
2199 ieee80211_start_monitor_mode(struct ieee80211_device *ieee) ieee80211_start_monitor_mode() argument
2211 struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, start_ibss_wq); ieee80211_start_ibss_wq() local
2313 ieee80211_start_ibss(struct ieee80211_device *ieee) ieee80211_start_ibss() argument
2319 ieee80211_start_bss(struct ieee80211_device *ieee) ieee80211_start_bss() argument
2354 ieee80211_disassociate(struct ieee80211_device *ieee) ieee80211_disassociate() argument
2375 struct ieee80211_device *ieee = container_of(dwork, struct ieee80211_device, associate_retry_wq); ieee80211_associate_retry_wq() local
2413 ieee80211_get_beacon_(struct ieee80211_device *ieee) ieee80211_get_beacon_() argument
2431 ieee80211_get_beacon(struct ieee80211_device *ieee) ieee80211_get_beacon() argument
2452 ieee80211_softmac_stop_protocol(struct ieee80211_device *ieee) ieee80211_softmac_stop_protocol() argument
2461 ieee80211_stop_protocol(struct ieee80211_device *ieee) ieee80211_stop_protocol() argument
2478 ieee80211_softmac_start_protocol(struct ieee80211_device *ieee) ieee80211_softmac_start_protocol() argument
2487 ieee80211_start_protocol(struct ieee80211_device *ieee) ieee80211_start_protocol() argument
2538 ieee80211_softmac_init(struct ieee80211_device *ieee) ieee80211_softmac_init() argument
2604 ieee80211_softmac_free(struct ieee80211_device *ieee) ieee80211_softmac_free() argument
2620 ieee80211_wpa_enable(struct ieee80211_device *ieee, int value) ieee80211_wpa_enable() argument
2629 ieee80211_wpa_assoc_frame(struct ieee80211_device *ieee, char *wpa_ie, int wpa_ie_len) ieee80211_wpa_assoc_frame() argument
2638 ieee80211_wpa_mlme(struct ieee80211_device *ieee, int command, int reason) ieee80211_wpa_mlme() argument
2659 ieee80211_wpa_set_wpa_ie(struct ieee80211_device *ieee, struct ieee_param *param, int plen) ieee80211_wpa_set_wpa_ie() argument
2689 ieee80211_wpa_set_auth_algs(struct ieee80211_device *ieee, int value) ieee80211_wpa_set_auth_algs() argument
2717 ieee80211_wpa_set_param(struct ieee80211_device *ieee, u8 name, u32 value) ieee80211_wpa_set_param() argument
2791 ieee80211_wpa_set_encryption(struct ieee80211_device *ieee, struct ieee_param *param, int param_len) ieee80211_wpa_set_encryption() argument
2940 ieee80211_disassociate_skb(struct ieee80211_network *beacon, struct ieee80211_device *ieee, u8 asRsn) ieee80211_disassociate_skb() argument
2964 SendDisassociation(struct ieee80211_device *ieee, u8 *asSta, u8 asRsn ) SendDisassociation() argument
2980 ieee80211_wpa_supplicant_ioctl(struct ieee80211_device *ieee, struct iw_point *p) ieee80211_wpa_supplicant_ioctl() argument
3035 notify_wx_assoc_event(struct ieee80211_device *ieee) notify_wx_assoc_event() argument
[all...]
H A Dieee80211_softmac_wx.c30 int ieee80211_wx_set_freq(struct ieee80211_device *ieee, struct iw_request_info *a, in ieee80211_wx_set_freq() argument
36 mutex_lock(&ieee->wx_mutex); in ieee80211_wx_set_freq()
38 if (ieee->iw_mode == IW_MODE_INFRA) { in ieee80211_wx_set_freq()
65 if (!(GET_DOT11D_INFO(ieee)->channel_map)[fwrq->m]) { in ieee80211_wx_set_freq()
69 ieee->current_network.channel = fwrq->m; in ieee80211_wx_set_freq()
70 ieee->set_chan(ieee->dev, ieee->current_network.channel); in ieee80211_wx_set_freq()
72 if (ieee->iw_mode == IW_MODE_ADHOC || ieee in ieee80211_wx_set_freq()
86 ieee80211_wx_get_freq(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) ieee80211_wx_get_freq() argument
104 ieee80211_wx_get_wap(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_get_wap() argument
133 ieee80211_wx_set_wap(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *awrq, char *extra) ieee80211_wx_set_wap() argument
180 ieee80211_wx_get_essid(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) ieee80211_wx_get_essid() argument
216 ieee80211_wx_set_rate(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_set_rate() argument
229 ieee80211_wx_get_rate(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_get_rate() argument
243 ieee80211_wx_set_rts(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_set_rts() argument
259 ieee80211_wx_get_rts(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_get_rts() argument
270 ieee80211_wx_set_mode(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) ieee80211_wx_set_mode() argument
302 struct ieee80211_device *ieee = container_of(work, struct ieee80211_device, wx_sync_scan_wq); ieee80211_wx_sync_scan_wq() local
359 ieee80211_wx_set_scan(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) ieee80211_wx_set_scan() argument
383 ieee80211_wx_set_essid(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *extra) ieee80211_wx_set_essid() argument
437 ieee80211_wx_get_mode(struct ieee80211_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) ieee80211_wx_get_mode() argument
446 ieee80211_wx_set_rawtx(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_set_rawtx() argument
483 ieee80211_wx_get_name(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_get_name() argument
510 ieee80211_wx_set_power(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_set_power() argument
562 ieee80211_wx_get_power(struct ieee80211_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) ieee80211_wx_get_power() argument
[all...]
H A Dieee80211_module.c46 static inline int ieee80211_networks_allocate(struct ieee80211_device *ieee) in ieee80211_networks_allocate() argument
48 if (ieee->networks) in ieee80211_networks_allocate()
51 ieee->networks = kcalloc(MAX_NETWORK_COUNT, in ieee80211_networks_allocate()
54 if (!ieee->networks) { in ieee80211_networks_allocate()
55 netdev_warn(ieee->dev, "Out of memory allocating beacons\n"); in ieee80211_networks_allocate()
62 static inline void ieee80211_networks_free(struct ieee80211_device *ieee) in ieee80211_networks_free() argument
64 if (!ieee->networks) in ieee80211_networks_free()
66 kfree(ieee->networks); in ieee80211_networks_free()
67 ieee->networks = NULL; in ieee80211_networks_free()
70 static inline void ieee80211_networks_initialize(struct ieee80211_device *ieee) in ieee80211_networks_initialize() argument
82 struct ieee80211_device *ieee; alloc_ieee80211() local
176 struct ieee80211_device *ieee = netdev_priv(dev); free_ieee80211() local
[all...]
H A Dieee80211_tx.c104 * N parts of size ieee->fts. The first fragment contains the SNAP header and the
109 * So if you have 1500 bytes of payload with ieee->fts set to 500 without
165 struct ieee80211_device *ieee, in ieee80211_encrypt_fragment()
169 struct ieee80211_crypt_data *crypt = ieee->crypt[ieee->tx_keyidx]; in ieee80211_encrypt_fragment()
177 if (ieee->tkip_countermeasures && in ieee80211_encrypt_fragment()
183 netdev_dbg(ieee->dev, "TKIP countermeasures: dropped " in ieee80211_encrypt_fragment()
206 netdev_info(ieee->dev, "Encryption failed: len=%d.\n", in ieee80211_encrypt_fragment()
208 ieee->ieee_stats.tx_discards++; in ieee80211_encrypt_fragment()
289 static void ieee80211_tx_query_agg_cap(struct ieee80211_device *ieee, in ieee80211_tx_query_agg_cap() argument
164 ieee80211_encrypt_fragment( struct ieee80211_device *ieee, struct sk_buff *frag, int hdr_len) ieee80211_encrypt_fragment() argument
349 ieee80211_qurey_ShortPreambleMode(struct ieee80211_device *ieee, struct cb_desc *tcb_desc) ieee80211_qurey_ShortPreambleMode() argument
361 ieee80211_query_HTCapShortGI(struct ieee80211_device *ieee, struct cb_desc *tcb_desc) ieee80211_query_HTCapShortGI() argument
381 ieee80211_query_BandwidthMode(struct ieee80211_device *ieee, struct cb_desc *tcb_desc) ieee80211_query_BandwidthMode() argument
402 ieee80211_query_protectionmode(struct ieee80211_device *ieee, struct cb_desc *tcb_desc, struct sk_buff *skb) ieee80211_query_protectionmode() argument
501 ieee80211_txrate_selectmode(struct ieee80211_device *ieee, struct cb_desc *tcb_desc) ieee80211_txrate_selectmode() argument
515 ieee80211_query_seqnum(struct ieee80211_device *ieee, struct sk_buff *skb, u8 *dst) ieee80211_query_seqnum() argument
531 struct ieee80211_device *ieee = netdev_priv(dev); ieee80211_xmit() local
[all...]
H A Drtl819x_TSProc.c29 struct ieee80211_device *ieee = container_of(pRxTs, struct ieee80211_device, RxTsRecord[pRxTs->num]); in RxPktPendingTimeout() local
38 spin_lock_irqsave(&(ieee->reorder_spinlock), flags); in RxPktPendingTimeout()
55 ieee->stats_IndicateArray[index] = pReorderEntry->prxb; in RxPktPendingTimeout()
58 list_add_tail(&pReorderEntry->List, &ieee->RxReorder_Unused_List); in RxPktPendingTimeout()
73 spin_unlock_irqrestore(&(ieee->reorder_spinlock), flags); in RxPktPendingTimeout()
76 ieee80211_indicate_packets(ieee, ieee->stats_IndicateArray, index); in RxPktPendingTimeout()
82 jiffies + msecs_to_jiffies(ieee->pHTInfo->RxReorderPendingTime)); in RxPktPendingTimeout()
84 spin_unlock_irqrestore(&(ieee->reorder_spinlock), flags); in RxPktPendingTimeout()
97 struct ieee80211_device *ieee in TsAddBaProcess() local
132 TSInitialize(struct ieee80211_device *ieee) TSInitialize() argument
191 AdmitTS(struct ieee80211_device *ieee, struct ts_common_info *pTsCommonInfo, u32 InactTime) AdmitTS() argument
203 SearchAdmitTRStream(struct ieee80211_device *ieee, u8 *Addr, u8 TID, enum tr_select TxRxSelect) SearchAdmitTRStream() argument
287 GetTs( struct ieee80211_device *ieee, struct ts_common_info **ppTS, u8 *Addr, u8 TID, enum tr_select TxRxSelect, bool bAddNewTs ) GetTs() argument
408 RemoveTsEntry(struct ieee80211_device *ieee, struct ts_common_info *pTs, enum tr_select TxRxSelect) RemoveTsEntry() argument
451 RemovePeerTS(struct ieee80211_device *ieee, u8 *Addr) RemovePeerTS() argument
490 RemoveAllTS(struct ieee80211_device *ieee) RemoveAllTS() argument
519 TsStartAddBaProcess(struct ieee80211_device *ieee, struct tx_ts_record *pTxTS) TsStartAddBaProcess() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/
H A Drtllib_softmac.c23 static void rtllib_sta_wakeup(struct rtllib_device *ieee, short nl);
35 static unsigned int rtllib_MFIE_rate_len(struct rtllib_device *ieee) in rtllib_MFIE_rate_len() argument
39 if (ieee->modulation & RTLLIB_CCK_MODULATION) in rtllib_MFIE_rate_len()
42 if (ieee->modulation & RTLLIB_OFDM_MODULATION) in rtllib_MFIE_rate_len()
53 static void rtllib_MFIE_Brate(struct rtllib_device *ieee, u8 **tag_p) in rtllib_MFIE_Brate() argument
57 if (ieee->modulation & RTLLIB_CCK_MODULATION) { in rtllib_MFIE_Brate()
72 static void rtllib_MFIE_Grate(struct rtllib_device *ieee, u8 **tag_p) in rtllib_MFIE_Grate() argument
76 if (ieee->modulation & RTLLIB_OFDM_MODULATION) { in rtllib_MFIE_Grate()
94 static void rtllib_WMM_Info(struct rtllib_device *ieee, u8 **tag_p) in rtllib_WMM_Info() argument
110 static void rtllib_TURBO_Info(struct rtllib_device *ieee, u argument
128 enqueue_mgmt(struct rtllib_device *ieee, struct sk_buff *skb) enqueue_mgmt() argument
145 init_mgmt_queue(struct rtllib_device *ieee) init_mgmt_queue() argument
152 MgntQuery_TxRateExcludeCCKRates(struct rtllib_device *ieee) MgntQuery_TxRateExcludeCCKRates() argument
178 MgntQuery_MgntFrameTxRate(struct rtllib_device *ieee) MgntQuery_MgntFrameTxRate() argument
200 softmac_mgmt_xmit(struct sk_buff *skb, struct rtllib_device *ieee) softmac_mgmt_xmit() argument
277 softmac_ps_mgmt_xmit(struct sk_buff *skb, struct rtllib_device *ieee) softmac_ps_mgmt_xmit() argument
332 rtllib_probe_req(struct rtllib_device *ieee) rtllib_probe_req() argument
374 rtllib_send_beacon(struct rtllib_device *ieee) rtllib_send_beacon() argument
395 struct rtllib_device *ieee = rtllib_send_beacon_cb() local
408 struct rtllib_device *ieee = netdev_priv_rsl(dev); rtllib_EnableNetMonitorMode() local
422 struct rtllib_device *ieee = netdev_priv_rsl(dev); rtllib_DisableNetMonitorMode() local
441 struct rtllib_device *ieee = netdev_priv_rsl(dev); rtllib_EnableIntelPromiscuousMode() local
462 struct rtllib_device *ieee = netdev_priv_rsl(dev); rtllib_DisableIntelPromiscuousMode() local
474 rtllib_send_probe(struct rtllib_device *ieee, u8 is_mesh) rtllib_send_probe() argument
486 rtllib_send_probe_requests(struct rtllib_device *ieee, u8 is_mesh) rtllib_send_probe_requests() argument
495 rtllib_update_active_chan_map(struct rtllib_device *ieee) rtllib_update_active_chan_map() argument
504 rtllib_softmac_scan_syncro(struct rtllib_device *ieee, u8 is_mesh) rtllib_softmac_scan_syncro() argument
576 struct rtllib_device *ieee = container_of_dwork_rsl(data, rtllib_softmac_scan_wq() local
635 rtllib_beacons_start(struct rtllib_device *ieee) rtllib_beacons_start() argument
647 rtllib_beacons_stop(struct rtllib_device *ieee) rtllib_beacons_stop() argument
661 rtllib_stop_send_beacons(struct rtllib_device *ieee) rtllib_stop_send_beacons() argument
671 rtllib_start_send_beacons(struct rtllib_device *ieee) rtllib_start_send_beacons() argument
681 rtllib_softmac_stop_scan(struct rtllib_device *ieee) rtllib_softmac_stop_scan() argument
695 rtllib_stop_scan(struct rtllib_device *ieee) rtllib_stop_scan() argument
706 rtllib_stop_scan_syncro(struct rtllib_device *ieee) rtllib_stop_scan_syncro() argument
717 rtllib_act_scanning(struct rtllib_device *ieee, bool sync_scan) rtllib_act_scanning() argument
731 rtllib_start_scan(struct rtllib_device *ieee) rtllib_start_scan() argument
754 rtllib_start_scan_syncro(struct rtllib_device *ieee, u8 is_mesh) rtllib_start_scan_syncro() argument
771 rtllib_authentication_req(struct rtllib_network *beacon, struct rtllib_device *ieee, int challengelen, u8 *daddr) rtllib_authentication_req() argument
812 rtllib_probe_resp(struct rtllib_device *ieee, const u8 *dest) rtllib_probe_resp() argument
961 rtllib_assoc_resp(struct rtllib_device *ieee, u8 *dest) rtllib_assoc_resp() argument
1019 rtllib_auth_resp(struct rtllib_device *ieee, int status, u8 *dest) rtllib_auth_resp() argument
1049 rtllib_null_func(struct rtllib_device *ieee, short pwr) rtllib_null_func() argument
1075 rtllib_pspoll_func(struct rtllib_device *ieee) rtllib_pspoll_func() argument
1099 rtllib_resp_to_assoc_rq(struct rtllib_device *ieee, u8 *dest) rtllib_resp_to_assoc_rq() argument
1108 rtllib_resp_to_auth(struct rtllib_device *ieee, int s, u8 *dest) rtllib_resp_to_auth() argument
1117 rtllib_resp_to_probe(struct rtllib_device *ieee, u8 *dest) rtllib_resp_to_probe() argument
1126 SecIsInPMKIDList(struct rtllib_device *ieee, u8 *bssid) SecIsInPMKIDList() argument
1143 rtllib_association_req(struct rtllib_network *beacon, struct rtllib_device *ieee) rtllib_association_req() argument
1392 rtllib_associate_abort(struct rtllib_device *ieee) rtllib_associate_abort() argument
1429 rtllib_associate_step1(struct rtllib_device *ieee, u8 *daddr) rtllib_associate_step1() argument
1453 rtllib_auth_challenge(struct rtllib_device *ieee, u8 *challenge, int chlen) rtllib_auth_challenge() argument
1485 rtllib_associate_step2(struct rtllib_device *ieee) rtllib_associate_step2() argument
1506 struct rtllib_device *ieee = (struct rtllib_device *) rtllib_associate_complete_wq() local
1561 rtllib_sta_send_associnfo(struct rtllib_device *ieee) rtllib_sta_send_associnfo() argument
1565 rtllib_associate_complete(struct rtllib_device *ieee) rtllib_associate_complete() argument
1577 struct rtllib_device *ieee = container_of_dwork_rsl(data, rtllib_associate_procedure_wq() local
1608 rtllib_softmac_new_net(struct rtllib_device *ieee, struct rtllib_network *net) rtllib_softmac_new_net() argument
1746 rtllib_softmac_check_all_nets(struct rtllib_device *ieee) rtllib_softmac_check_all_nets() argument
1814 probe_rq_parse(struct rtllib_device *ieee, struct sk_buff *skb, u8 *src) probe_rq_parse() argument
1877 assoc_parse(struct rtllib_device *ieee, struct sk_buff *skb, int *aid) assoc_parse() argument
1906 rtllib_rx_probe_rq(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_probe_rq() argument
1917 rtllib_rx_auth_rq(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_auth_rq() argument
1930 rtllib_rx_assoc_rq(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_assoc_rq() argument
1943 rtllib_sta_ps_send_null_frame(struct rtllib_device *ieee, short pwr) rtllib_sta_ps_send_null_frame() argument
1953 rtllib_sta_ps_send_pspoll_frame(struct rtllib_device *ieee) rtllib_sta_ps_send_pspoll_frame() argument
1961 rtllib_sta_ps_sleep(struct rtllib_device *ieee, u64 *time) rtllib_sta_ps_sleep() argument
2049 struct rtllib_device *ieee = from_tasklet(ieee, t, ps_task); rtllib_sta_ps() local
2102 rtllib_sta_wakeup(struct rtllib_device *ieee, short nl) rtllib_sta_wakeup() argument
2138 rtllib_ps_tx_ack(struct rtllib_device *ieee, short success) rtllib_ps_tx_ack() argument
2169 rtllib_process_action(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_process_action() argument
2204 rtllib_rx_assoc_resp(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) rtllib_rx_assoc_resp() argument
2281 rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_auth_resp() argument
2336 rtllib_rx_auth(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) rtllib_rx_auth() argument
2354 rtllib_rx_deauth(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_deauth() argument
2391 rtllib_rx_frame_softmac(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, u16 type, u16 stype) rtllib_rx_frame_softmac() argument
2449 rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee) rtllib_softmac_xmit() argument
2499 rtllib_reset_queue(struct rtllib_device *ieee) rtllib_reset_queue() argument
2515 rtllib_stop_all_queues(struct rtllib_device *ieee) rtllib_stop_all_queues() argument
2525 rtllib_wake_all_queues(struct rtllib_device *ieee) rtllib_wake_all_queues() argument
2531 rtllib_start_master_bss(struct rtllib_device *ieee) rtllib_start_master_bss() argument
2558 rtllib_start_monitor_mode(struct rtllib_device *ieee) rtllib_start_monitor_mode() argument
2571 struct rtllib_device *ieee = container_of_dwork_rsl(data, rtllib_start_ibss_wq() local
2699 rtllib_start_ibss(struct rtllib_device *ieee) rtllib_start_ibss() argument
2705 rtllib_start_bss(struct rtllib_device *ieee) rtllib_start_bss() argument
2736 struct rtllib_device *ieee = container_of_dwork_rsl(data, rtllib_link_change_wq() local
2741 rtllib_disassociate(struct rtllib_device *ieee) rtllib_disassociate() argument
2762 struct rtllib_device *ieee = container_of_dwork_rsl(data, rtllib_associate_retry_wq() local
2802 rtllib_get_beacon_(struct rtllib_device *ieee) rtllib_get_beacon_() argument
2822 rtllib_get_beacon(struct rtllib_device *ieee) rtllib_get_beacon() argument
2843 rtllib_softmac_stop_protocol(struct rtllib_device *ieee, u8 mesh_flag, u8 shutdown) rtllib_softmac_stop_protocol() argument
2854 rtllib_stop_protocol(struct rtllib_device *ieee, u8 shutdown) rtllib_stop_protocol() argument
2894 rtllib_softmac_start_protocol(struct rtllib_device *ieee, u8 mesh_flag) rtllib_softmac_start_protocol() argument
2902 rtllib_start_protocol(struct rtllib_device *ieee) rtllib_start_protocol() argument
2956 rtllib_softmac_init(struct rtllib_device *ieee) rtllib_softmac_init() argument
3037 rtllib_softmac_free(struct rtllib_device *ieee) rtllib_softmac_free() argument
3059 rtllib_disauth_skb(struct rtllib_network *beacon, struct rtllib_device *ieee, u16 asRsn) rtllib_disauth_skb() argument
3085 rtllib_disassociate_skb(struct rtllib_network *beacon, struct rtllib_device *ieee, u16 asRsn) rtllib_disassociate_skb() argument
3111 SendDisassociation(struct rtllib_device *ieee, bool deauth, u16 asRsn) SendDisassociation() argument
3125 rtllib_ap_sec_type(struct rtllib_device *ieee) rtllib_ap_sec_type() argument
3239 notify_wx_assoc_event(struct rtllib_device *ieee) notify_wx_assoc_event() argument
[all...]
H A Drtllib_softmac_wx.c29 int rtllib_wx_set_freq(struct rtllib_device *ieee, struct iw_request_info *a, in rtllib_wx_set_freq() argument
35 mutex_lock(&ieee->wx_mutex); in rtllib_wx_set_freq()
37 if (ieee->iw_mode == IW_MODE_INFRA) { in rtllib_wx_set_freq()
64 if (ieee->active_channel_map[fwrq->m] != 1) { in rtllib_wx_set_freq()
68 ieee->current_network.channel = fwrq->m; in rtllib_wx_set_freq()
69 ieee->set_chan(ieee->dev, ieee->current_network.channel); in rtllib_wx_set_freq()
71 if (ieee->iw_mode == IW_MODE_ADHOC || in rtllib_wx_set_freq()
72 ieee in rtllib_wx_set_freq()
87 rtllib_wx_get_freq(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) rtllib_wx_get_freq() argument
102 rtllib_wx_get_wap(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_get_wap() argument
132 rtllib_wx_set_wap(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *awrq, char *extra) rtllib_wx_set_wap() argument
190 rtllib_wx_get_essid(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) rtllib_wx_get_essid() argument
227 rtllib_wx_set_rate(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_set_rate() argument
239 rtllib_wx_get_rate(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_get_rate() argument
254 rtllib_wx_set_rts(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_set_rts() argument
270 rtllib_wx_get_rts(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_get_rts() argument
281 rtllib_wx_set_mode(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) rtllib_wx_set_mode() argument
329 struct rtllib_device *ieee = container_of_work_rsl(data, rtllib_wx_sync_scan_wq() local
416 rtllib_wx_set_scan(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) rtllib_wx_set_scan() argument
440 rtllib_wx_set_essid(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *extra) rtllib_wx_set_essid() argument
497 rtllib_wx_get_mode(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) rtllib_wx_get_mode() argument
505 rtllib_wx_set_rawtx(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_set_rawtx() argument
542 rtllib_wx_get_name(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_get_name() argument
560 rtllib_wx_set_power(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_set_power() argument
618 rtllib_wx_get_power(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) rtllib_wx_get_power() argument
[all...]
H A Drtllib_module.c40 static inline int rtllib_networks_allocate(struct rtllib_device *ieee) in rtllib_networks_allocate() argument
42 if (ieee->networks) in rtllib_networks_allocate()
45 ieee->networks = kcalloc(MAX_NETWORK_COUNT, in rtllib_networks_allocate()
47 if (!ieee->networks) in rtllib_networks_allocate()
53 static inline void rtllib_networks_free(struct rtllib_device *ieee) in rtllib_networks_free() argument
55 if (!ieee->networks) in rtllib_networks_free()
57 kfree(ieee->networks); in rtllib_networks_free()
58 ieee->networks = NULL; in rtllib_networks_free()
61 static inline void rtllib_networks_initialize(struct rtllib_device *ieee) in rtllib_networks_initialize() argument
65 INIT_LIST_HEAD(&ieee in rtllib_networks_initialize()
74 struct rtllib_device *ieee = NULL; alloc_rtllib() local
160 struct rtllib_device *ieee = (struct rtllib_device *) free_rtllib() local
[all...]
H A Drtl819x_TSProc.c23 struct rtllib_device *ieee = container_of(pRxTs, struct rtllib_device, in RxPktPendingTimeout() local
32 spin_lock_irqsave(&(ieee->reorder_spinlock), flags); in RxPktPendingTimeout()
52 netdev_dbg(ieee->dev, in RxPktPendingTimeout()
55 ieee->stats_IndicateArray[index] = in RxPktPendingTimeout()
60 &ieee->RxReorder_Unused_List); in RxPktPendingTimeout()
72 netdev_warn(ieee->dev, in RxPktPendingTimeout()
75 spin_unlock_irqrestore(&(ieee->reorder_spinlock), in RxPktPendingTimeout()
79 rtllib_indicate_packets(ieee, ieee->stats_IndicateArray, index); in RxPktPendingTimeout()
86 msecs_to_jiffies(ieee in RxPktPendingTimeout()
96 struct rtllib_device *ieee = container_of(pTxTs, struct rtllib_device, TsAddBaProcess() local
132 TSInitialize(struct rtllib_device *ieee) TSInitialize() argument
199 AdmitTS(struct rtllib_device *ieee, struct ts_common_info *pTsCommonInfo, u32 InactTime) AdmitTS() argument
210 SearchAdmitTRStream(struct rtllib_device *ieee, u8 *Addr, u8 TID, enum tr_select TxRxSelect) SearchAdmitTRStream() argument
291 GetTs(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *Addr, u8 TID, enum tr_select TxRxSelect, bool bAddNewTs) GetTs() argument
397 RemoveTsEntry(struct rtllib_device *ieee, struct ts_common_info *pTs, enum tr_select TxRxSelect) RemoveTsEntry() argument
439 RemovePeerTS(struct rtllib_device *ieee, u8 *Addr) RemovePeerTS() argument
481 RemoveAllTS(struct rtllib_device *ieee) RemoveAllTS() argument
510 TsStartAddBaProcess(struct rtllib_device *ieee, struct tx_ts_record *pTxTS) TsStartAddBaProcess() argument
[all...]
H A Drtl819x_HTProc.c70 void HTUpdateDefaultSetting(struct rtllib_device *ieee) in HTUpdateDefaultSetting() argument
72 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in HTUpdateDefaultSetting()
96 ieee->bTxDisableRateFallBack = 0; in HTUpdateDefaultSetting()
97 ieee->bTxUseDriverAssingedRate = 0; in HTUpdateDefaultSetting()
99 ieee->bTxEnableFwCalcDur = 1; in HTUpdateDefaultSetting()
108 static u16 HTMcsToDataRate(struct rtllib_device *ieee, u8 nMcsRate) in HTMcsToDataRate() argument
110 struct rt_hi_throughput *pHTInfo = ieee->pHTInfo; in HTMcsToDataRate()
119 u16 TxCountToDataRate(struct rtllib_device *ieee, u8 nDataRate) in TxCountToDataRate() argument
144 bool IsHTHalfNmodeAPs(struct rtllib_device *ieee) in IsHTHalfNmodeAPs() argument
147 struct rtllib_network *net = &ieee in IsHTHalfNmodeAPs()
169 HTIOTPeerDetermine(struct rtllib_device *ieee) HTIOTPeerDetermine() argument
211 HTIOTActIsDisableMCS14(struct rtllib_device *ieee, u8 *PeerMacAddr) HTIOTActIsDisableMCS14() argument
217 HTIOTActIsDisableMCS15(struct rtllib_device *ieee) HTIOTActIsDisableMCS15() argument
222 HTIOTActIsDisableMCSTwoSpatialStream(struct rtllib_device *ieee) HTIOTActIsDisableMCSTwoSpatialStream() argument
227 HTIOTActIsDisableEDCATurbo(struct rtllib_device *ieee, u8 *PeerMacAddr) HTIOTActIsDisableEDCATurbo() argument
233 HTIOTActIsMgntUseCCK6M(struct rtllib_device *ieee, struct rtllib_network *network) HTIOTActIsMgntUseCCK6M() argument
245 HTIOTActIsCCDFsync(struct rtllib_device *ieee) HTIOTActIsCCDFsync() argument
254 HTIOTActDetermineRaFunc(struct rtllib_device *ieee, bool bPeerRx2ss) HTIOTActDetermineRaFunc() argument
275 HTConstructCapabilityElement(struct rtllib_device *ieee, u8 *posHTCap, u8 *len, u8 IsEncrypt, bool bAssoc) HTConstructCapabilityElement() argument
357 HTConstructInfoElement(struct rtllib_device *ieee, u8 *posHTInfo, u8 *len, u8 IsEncrypt) HTConstructInfoElement() argument
401 HTConstructRT2RTAggElement(struct rtllib_device *ieee, u8 *posRT2RTAgg, u8 *len) HTConstructRT2RTAggElement() argument
423 HT_PickMCSRate(struct rtllib_device *ieee, u8 *pOperateMCS) HT_PickMCSRate() argument
453 HTGetHighestMCSRate(struct rtllib_device *ieee, u8 *pMCSRateSet, u8 *pMCSFilter) HTGetHighestMCSRate() argument
493 HTFilterMCSRate(struct rtllib_device *ieee, u8 *pSupportMCS, u8 *pOperateMCS) HTFilterMCSRate() argument
518 HTOnAssocRsp(struct rtllib_device *ieee) HTOnAssocRsp() argument
637 HTInitializeHTInfo(struct rtllib_device *ieee) HTInitializeHTInfo() argument
704 HTResetSelfAndSavePeerSetting(struct rtllib_device *ieee, struct rtllib_network *pNetwork) HTResetSelfAndSavePeerSetting() argument
780 HT_update_self_and_peer_setting(struct rtllib_device *ieee, struct rtllib_network *pNetwork) HT_update_self_and_peer_setting() argument
794 HTUseDefaultSetting(struct rtllib_device *ieee) HTUseDefaultSetting() argument
830 HTCCheck(struct rtllib_device *ieee, u8 *pFrame) HTCCheck() argument
841 HTSetConnectBwModeCallback(struct rtllib_device *ieee) HTSetConnectBwModeCallback() argument
870 HTSetConnectBwMode(struct rtllib_device *ieee, enum ht_channel_width Bandwidth, enum ht_extchnl_offset Offset) HTSetConnectBwMode() argument
[all...]
H A Drtl819x_BAProc.c13 static void ActivateBAEntry(struct rtllib_device *ieee, struct ba_record *pBA, in ActivateBAEntry() argument
21 static void DeActivateBAEntry(struct rtllib_device *ieee, struct ba_record *pBA) in DeActivateBAEntry() argument
27 static u8 TxTsDeleteBA(struct rtllib_device *ieee, struct tx_ts_record *pTxTs) in TxTsDeleteBA() argument
34 DeActivateBAEntry(ieee, pPendingBa); in TxTsDeleteBA()
39 DeActivateBAEntry(ieee, pAdmittedBa); in TxTsDeleteBA()
45 static u8 RxTsDeleteBA(struct rtllib_device *ieee, struct rx_ts_record *pRxTs) in RxTsDeleteBA() argument
51 DeActivateBAEntry(ieee, pBa); in RxTsDeleteBA()
66 static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *Dst, in rtllib_ADDBA() argument
73 u16 len = ieee->tx_headroom + 9; in rtllib_ADDBA()
75 netdev_dbg(ieee in rtllib_ADDBA()
128 rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, struct ba_record *pBA, enum tr_select TxRxSelect, u16 ReasonCode) rtllib_DELBA() argument
179 rtllib_send_ADDBAReq(struct rtllib_device *ieee, u8 *dst, struct ba_record *pBA) rtllib_send_ADDBAReq() argument
194 rtllib_send_ADDBARsp(struct rtllib_device *ieee, u8 *dst, struct ba_record *pBA, u16 StatusCode) rtllib_send_ADDBARsp() argument
206 rtllib_send_DELBA(struct rtllib_device *ieee, u8 *dst, struct ba_record *pBA, enum tr_select TxRxSelect, u16 ReasonCode) rtllib_send_DELBA() argument
219 rtllib_rx_ADDBAReq(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_ADDBAReq() argument
309 rtllib_rx_ADDBARsp(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_ADDBARsp() argument
413 rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) rtllib_rx_DELBA() argument
475 TsInitAddBA(struct rtllib_device *ieee, struct tx_ts_record *pTS, u8 Policy, u8 bOverwritePending) TsInitAddBA() argument
499 TsInitDelBA(struct rtllib_device *ieee, struct ts_common_info *pTsCommonInfo, enum tr_select TxRxSelect) TsInitDelBA() argument
537 struct rtllib_device *ieee = container_of(pTxTs, struct rtllib_device, TxBaInactTimeout() local
549 struct rtllib_device *ieee = container_of(pRxTs, struct rtllib_device, RxBaInactTimeout() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_geo.c31 int libipw_is_valid_channel(struct libipw_device *ieee, u8 channel) in libipw_is_valid_channel() argument
37 if (ieee->geo.bg_channels == 0 && ieee->geo.a_channels == 0) in libipw_is_valid_channel()
40 if (ieee->freq_band & LIBIPW_24GHZ_BAND) in libipw_is_valid_channel()
41 for (i = 0; i < ieee->geo.bg_channels; i++) in libipw_is_valid_channel()
45 if ((ieee->geo.bg[i].channel == channel) && in libipw_is_valid_channel()
46 !(ieee->geo.bg[i].flags & LIBIPW_CH_INVALID) && in libipw_is_valid_channel()
47 (!(ieee->mode & IEEE_G) || in libipw_is_valid_channel()
48 !(ieee->geo.bg[i].flags & LIBIPW_CH_B_ONLY))) in libipw_is_valid_channel()
51 if (ieee in libipw_is_valid_channel()
60 libipw_channel_to_index(struct libipw_device *ieee, u8 channel) libipw_channel_to_index() argument
82 libipw_channel_to_freq(struct libipw_device * ieee, u8 channel) libipw_channel_to_freq() argument
97 libipw_freq_to_channel(struct libipw_device * ieee, u32 freq) libipw_freq_to_channel() argument
121 libipw_set_geo(struct libipw_device *ieee, const struct libipw_geo *geo) libipw_set_geo() argument
134 libipw_get_geo(struct libipw_device *ieee) libipw_get_geo() argument
139 libipw_get_channel_flags(struct libipw_device * ieee, u8 channel) libipw_get_channel_flags() argument
158 libipw_get_channel(struct libipw_device *ieee, u8 channel) libipw_get_channel() argument
[all...]
H A Dlibipw_module.c55 static int libipw_networks_allocate(struct libipw_device *ieee) in libipw_networks_allocate() argument
60 ieee->networks[i] = kzalloc(sizeof(struct libipw_network), in libipw_networks_allocate()
62 if (!ieee->networks[i]) { in libipw_networks_allocate()
65 kfree(ieee->networks[j]); in libipw_networks_allocate()
73 static inline void libipw_networks_free(struct libipw_device *ieee) in libipw_networks_free() argument
78 kfree(ieee->networks[i]); in libipw_networks_free()
81 void libipw_networks_age(struct libipw_device *ieee, in libipw_networks_age() argument
88 spin_lock_irqsave(&ieee->lock, flags); in libipw_networks_age()
89 list_for_each_entry(network, &ieee->network_list, list) { in libipw_networks_age()
92 spin_unlock_irqrestore(&ieee in libipw_networks_age()
96 libipw_networks_initialize(struct libipw_device *ieee) libipw_networks_initialize() argument
109 struct libipw_device *ieee; alloc_libipw() local
192 struct libipw_device *ieee = netdev_priv(dev); free_libipw() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/intel/ipw2x00/
H A Dlibipw_geo.c31 int libipw_is_valid_channel(struct libipw_device *ieee, u8 channel) in libipw_is_valid_channel() argument
37 if (ieee->geo.bg_channels == 0 && ieee->geo.a_channels == 0) in libipw_is_valid_channel()
40 if (ieee->freq_band & LIBIPW_24GHZ_BAND) in libipw_is_valid_channel()
41 for (i = 0; i < ieee->geo.bg_channels; i++) in libipw_is_valid_channel()
45 if ((ieee->geo.bg[i].channel == channel) && in libipw_is_valid_channel()
46 !(ieee->geo.bg[i].flags & LIBIPW_CH_INVALID) && in libipw_is_valid_channel()
47 (!(ieee->mode & IEEE_G) || in libipw_is_valid_channel()
48 !(ieee->geo.bg[i].flags & LIBIPW_CH_B_ONLY))) in libipw_is_valid_channel()
51 if (ieee in libipw_is_valid_channel()
60 libipw_channel_to_index(struct libipw_device *ieee, u8 channel) libipw_channel_to_index() argument
82 libipw_channel_to_freq(struct libipw_device * ieee, u8 channel) libipw_channel_to_freq() argument
97 libipw_freq_to_channel(struct libipw_device * ieee, u32 freq) libipw_freq_to_channel() argument
121 libipw_set_geo(struct libipw_device *ieee, const struct libipw_geo *geo) libipw_set_geo() argument
134 libipw_get_geo(struct libipw_device *ieee) libipw_get_geo() argument
139 libipw_get_channel_flags(struct libipw_device * ieee, u8 channel) libipw_get_channel_flags() argument
158 libipw_get_channel(struct libipw_device *ieee, u8 channel) libipw_get_channel() argument
[all...]
H A Dlibipw_module.c55 static int libipw_networks_allocate(struct libipw_device *ieee) in libipw_networks_allocate() argument
60 ieee->networks[i] = kzalloc(sizeof(struct libipw_network), in libipw_networks_allocate()
62 if (!ieee->networks[i]) { in libipw_networks_allocate()
65 kfree(ieee->networks[j]); in libipw_networks_allocate()
73 static inline void libipw_networks_free(struct libipw_device *ieee) in libipw_networks_free() argument
78 kfree(ieee->networks[i]); in libipw_networks_free()
81 void libipw_networks_age(struct libipw_device *ieee, in libipw_networks_age() argument
88 spin_lock_irqsave(&ieee->lock, flags); in libipw_networks_age()
89 list_for_each_entry(network, &ieee->network_list, list) { in libipw_networks_age()
92 spin_unlock_irqrestore(&ieee in libipw_networks_age()
96 libipw_networks_initialize(struct libipw_device *ieee) libipw_networks_initialize() argument
109 struct libipw_device *ieee; alloc_libipw() local
192 struct libipw_device *ieee = netdev_priv(dev); free_libipw() local
[all...]

Completed in 18 milliseconds

12345