/linux-master/drivers/staging/rtl8192e/ |
H A D | rtllib_softmac_wx.c | 18 int rtllib_wx_set_freq(struct rtllib_device *ieee, struct iw_request_info *a, argument 24 mutex_lock(&ieee->wx_mutex); 26 if (ieee->iw_mode == IW_MODE_INFRA) { 46 if (ieee->active_channel_map[fwrq->m] != 1) { 50 ieee->current_network.channel = fwrq->m; 51 ieee->set_chan(ieee->dev, ieee->current_network.channel); 56 mutex_unlock(&ieee->wx_mutex); 61 int rtllib_wx_get_freq(struct rtllib_device *ieee, argument 76 rtllib_wx_get_wap(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 105 rtllib_wx_set_wap(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *awrq, char *extra) argument 157 rtllib_wx_get_essid(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) argument 193 rtllib_wx_set_rate(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 204 rtllib_wx_get_rate(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 218 rtllib_wx_set_rts(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 234 rtllib_wx_get_rts(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 245 rtllib_wx_set_mode(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) argument 292 struct rtllib_device *ieee = container_of(data, struct rtllib_device, wx_sync_scan_wq); local 361 rtllib_wx_set_scan(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) argument 382 rtllib_wx_set_essid(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *extra) argument 430 rtllib_wx_get_mode(struct rtllib_device *ieee, struct iw_request_info *a, union iwreq_data *wrqu, char *b) argument 438 rtllib_wx_get_name(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 449 rtllib_wx_set_power(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 501 rtllib_wx_get_power(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument [all...] |
H A D | rtllib_module.c | 37 static inline int rtllib_networks_allocate(struct rtllib_device *ieee) argument 39 if (ieee->networks) 42 ieee->networks = kcalloc(MAX_NETWORK_COUNT, 44 if (!ieee->networks) 50 static inline void rtllib_networks_free(struct rtllib_device *ieee) argument 52 if (!ieee->networks) 54 kfree(ieee->networks); 55 ieee->networks = NULL; 58 static inline void rtllib_networks_initialize(struct rtllib_device *ieee) argument 62 INIT_LIST_HEAD(&ieee 71 struct rtllib_device *ieee = NULL; local 153 struct rtllib_device *ieee = (struct rtllib_device *) local [all...] |
H A D | rtllib_softmac.c | 22 static void rtllib_sta_wakeup(struct rtllib_device *ieee, short nl); 33 static unsigned int rtllib_MFIE_rate_len(struct rtllib_device *ieee) argument 47 static void rtllib_mfie_brate(struct rtllib_device *ieee, u8 **tag_p) argument 64 static void rtllib_mfie_grate(struct rtllib_device *ieee, u8 **tag_p) argument 85 static void rtllib_wmm_info(struct rtllib_device *ieee, u8 **tag_p) argument 101 static void rtllib_turbo_info(struct rtllib_device *ieee, u8 **tag_p) argument 116 netdev_alert(ieee->dev, "This is enable turbo mode IE process\n"); 119 static void enqueue_mgmt(struct rtllib_device *ieee, struct sk_buff *skb) argument 123 nh = (ieee->mgmt_queue_head + 1) % MGMT_QUEUE_NUM; 128 * if (nh == ieee 135 init_mgmt_queue(struct rtllib_device *ieee) argument 141 mgnt_query_tx_rate_exclude_cck_rates(struct rtllib_device *ieee) argument 166 mgnt_query_mgnt_frame_tx_rate(struct rtllib_device *ieee) argument 182 softmac_mgmt_xmit(struct sk_buff *skb, struct rtllib_device *ieee) argument 259 softmac_ps_mgmt_xmit(struct sk_buff *skb, struct rtllib_device *ieee) argument 310 rtllib_probe_req(struct rtllib_device *ieee) argument 354 struct rtllib_device *ieee = netdev_priv_rsl(dev); local 366 struct rtllib_device *ieee = netdev_priv_rsl(dev); local 373 rtllib_send_probe(struct rtllib_device *ieee) argument 384 rtllib_send_probe_requests(struct rtllib_device *ieee) argument 395 rtllib_softmac_scan_syncro(struct rtllib_device *ieee) argument 461 struct rtllib_device *ieee = container_of_dwork_rsl(data, local 514 rtllib_softmac_stop_scan(struct rtllib_device *ieee) argument 528 rtllib_stop_scan(struct rtllib_device *ieee) argument 535 rtllib_stop_scan_syncro(struct rtllib_device *ieee) argument 542 rtllib_act_scanning(struct rtllib_device *ieee, bool sync_scan) argument 556 rtllib_start_scan(struct rtllib_device *ieee) argument 570 rtllib_start_scan_syncro(struct rtllib_device *ieee) argument 579 rtllib_authentication_req(struct rtllib_network *beacon, struct rtllib_device *ieee, int challengelen, u8 *daddr) argument 620 rtllib_null_func(struct rtllib_device *ieee, short pwr) argument 644 rtllib_pspoll_func(struct rtllib_device *ieee) argument 667 sec_is_in_pmkid_list(struct rtllib_device *ieee, u8 *bssid) argument 684 rtllib_association_req(struct rtllib_network *beacon, struct rtllib_device *ieee) argument 929 rtllib_associate_abort(struct rtllib_device *ieee) argument 966 rtllib_associate_step1(struct rtllib_device *ieee, u8 *daddr) argument 990 rtllib_auth_challenge(struct rtllib_device *ieee, u8 *challenge, int chlen) argument 1022 rtllib_associate_step2(struct rtllib_device *ieee) argument 1043 struct rtllib_device *ieee = (struct rtllib_device *) local 1086 rtllib_sta_send_associnfo(struct rtllib_device *ieee) argument 1090 rtllib_associate_complete(struct rtllib_device *ieee) argument 1102 struct rtllib_device *ieee = container_of_dwork_rsl(data, local 1123 rtllib_softmac_new_net(struct rtllib_device *ieee, struct rtllib_network *net) argument 1246 rtllib_softmac_check_all_nets(struct rtllib_device *ieee) argument 1300 assoc_parse(struct rtllib_device *ieee, struct sk_buff *skb, int *aid) argument 1329 rtllib_sta_ps_send_null_frame(struct rtllib_device *ieee, short pwr) argument 1338 rtllib_sta_ps_send_pspoll_frame(struct rtllib_device *ieee) argument 1346 rtllib_sta_ps_sleep(struct rtllib_device *ieee, u64 *time) argument 1426 struct rtllib_device *ieee; local 1476 rtllib_sta_wakeup(struct rtllib_device *ieee, short nl) argument 1511 rtllib_ps_tx_ack(struct rtllib_device *ieee, short success) argument 1542 rtllib_process_action(struct rtllib_device *ieee, struct sk_buff *skb) argument 1570 rtllib_rx_assoc_resp(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 1644 rtllib_rx_auth_resp(struct rtllib_device *ieee, struct sk_buff *skb) argument 1698 rtllib_rx_auth(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 1713 rtllib_rx_deauth(struct rtllib_device *ieee, struct sk_buff *skb) argument 1744 rtllib_rx_frame_softmac(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, u16 type, u16 stype) argument 1799 rtllib_softmac_xmit(struct rtllib_txb *txb, struct rtllib_device *ieee) argument 1846 rtllib_reset_queue(struct rtllib_device *ieee) argument 1861 rtllib_stop_all_queues(struct rtllib_device *ieee) argument 1871 rtllib_wake_all_queues(struct rtllib_device *ieee) argument 1877 rtllib_start_bss(struct rtllib_device *ieee) argument 1904 struct rtllib_device *ieee = container_of_dwork_rsl(data, local 1910 rtllib_disassociate(struct rtllib_device *ieee) argument 1927 struct rtllib_device *ieee = container_of_dwork_rsl(data, local 1967 rtllib_softmac_stop_protocol(struct rtllib_device *ieee) argument 1976 rtllib_stop_protocol(struct rtllib_device *ieee) argument 2012 rtllib_softmac_start_protocol(struct rtllib_device *ieee) argument 2020 rtllib_start_protocol(struct rtllib_device *ieee) argument 2061 rtllib_softmac_init(struct rtllib_device *ieee) argument 2129 rtllib_softmac_free(struct rtllib_device *ieee) argument 2146 rtllib_disauth_skb(struct rtllib_network *beacon, struct rtllib_device *ieee, u16 rsn) argument 2172 rtllib_disassociate_skb(struct rtllib_network *beacon, struct rtllib_device *ieee, u16 rsn) argument 2198 send_disassociation(struct rtllib_device *ieee, bool deauth, u16 rsn) argument 2212 rtllib_ap_sec_type(struct rtllib_device *ieee) argument 2291 notify_wx_assoc_event(struct rtllib_device *ieee) argument [all...] |
H A D | rtl819x_TSProc.c | 14 struct rtllib_device *ieee = container_of(ts, struct rtllib_device, local 23 spin_lock_irqsave(&(ieee->reorder_spinlock), flags); 43 netdev_dbg(ieee->dev, 46 ieee->stats_IndicateArray[index] = 51 &ieee->RxReorder_Unused_List); 63 netdev_warn(ieee->dev, 66 spin_unlock_irqrestore(&(ieee->reorder_spinlock), 70 rtllib_indicate_packets(ieee, ieee->stats_IndicateArray, index); 77 msecs_to_jiffies(ieee 87 struct rtllib_device *ieee = container_of(ts, struct rtllib_device, local 120 rtllib_ts_init(struct rtllib_device *ieee) argument 172 SearchAdmitTRStream(struct rtllib_device *ieee, u8 *addr, u8 TID, enum tr_select tx_rx_select) argument 227 rtllib_get_ts(struct rtllib_device *ieee, struct ts_common_info **ppTS, u8 *addr, u8 TID, enum tr_select tx_rx_select, bool bAddNewTs) argument 323 RemoveTsEntry(struct rtllib_device *ieee, struct ts_common_info *pTs, enum tr_select tx_rx_select) argument 363 remove_peer_ts(struct rtllib_device *ieee, u8 *addr) argument 405 remove_all_ts(struct rtllib_device *ieee) argument 434 TsStartAddBaProcess(struct rtllib_device *ieee, struct tx_ts_record *pTxTS) argument [all...] |
H A D | rtl819x_HTProc.c | 70 void ht_update_default_setting(struct rtllib_device *ieee) argument 72 struct rt_hi_throughput *ht_info = ieee->ht_info; 77 ieee->tx_dis_rate_fallback = 0; 78 ieee->tx_use_drv_assinged_rate = 0; 80 ieee->tx_enable_fw_calc_dur = 1; 86 static u16 ht_mcs_to_data_rate(struct rtllib_device *ieee, u8 mcs_rate) argument 88 struct rt_hi_throughput *ht_info = ieee->ht_info; 97 u16 tx_count_to_data_rate(struct rtllib_device *ieee, u8 data_rate) argument 122 bool is_ht_half_nmode_aps(struct rtllib_device *ieee) argument 125 struct rtllib_network *net = &ieee 147 ht_iot_peer_determine(struct rtllib_device *ieee) argument 190 ht_iot_act_is_mgnt_use_cck_6m(struct rtllib_device *ieee, struct rtllib_network *network) argument 201 ht_iot_act_is_ccd_fsync(struct rtllib_device *ieee) argument 210 ht_iot_act_determine_ra_func(struct rtllib_device *ieee, bool bPeerRx2ss) argument 230 ht_construct_capability_element(struct rtllib_device *ieee, u8 *pos_ht_cap, u8 *len, u8 is_encrypt, bool assoc) argument 311 ht_construct_rt2rt_agg_element(struct rtllib_device *ieee, u8 *posRT2RTAgg, u8 *len) argument 333 ht_pick_mcs_rate(struct rtllib_device *ieee, u8 *pOperateMCS) argument 360 ht_get_highest_mcs_rate(struct rtllib_device *ieee, u8 *pMCSRateSet, u8 *pMCSFilter) argument 400 ht_filter_mcs_rate(struct rtllib_device *ieee, u8 *pSupportMCS, u8 *pOperateMCS) argument 424 ht_on_assoc_rsp(struct rtllib_device *ieee) argument 504 ht_initialize_ht_info(struct rtllib_device *ieee) argument 561 ht_reset_self_and_save_peer_setting(struct rtllib_device *ieee, struct rtllib_network *pNetwork) argument 611 HT_update_self_and_peer_setting(struct rtllib_device *ieee, struct rtllib_network *pNetwork) argument 625 ht_c_check(struct rtllib_device *ieee, u8 *pFrame) argument 636 ht_set_connect_bw_mode_callback(struct rtllib_device *ieee) argument 663 ht_set_connect_bw_mode(struct rtllib_device *ieee, enum ht_channel_width bandwidth, enum ht_extchnl_offset Offset) argument [all...] |
H A D | rtl819x_BAProc.c | 20 static void deactivate_ba_entry(struct rtllib_device *ieee, struct ba_record *ba) argument 26 static u8 tx_ts_delete_ba(struct rtllib_device *ieee, struct tx_ts_record *ts) argument 33 deactivate_ba_entry(ieee, pending_ba); 38 deactivate_ba_entry(ieee, admitted_ba); 44 static u8 rx_ts_delete_ba(struct rtllib_device *ieee, struct rx_ts_record *ts) argument 50 deactivate_ba_entry(ieee, ba); 66 static struct sk_buff *rtllib_ADDBA(struct rtllib_device *ieee, u8 *dst, argument 73 u16 len = ieee->tx_headroom + 9; 75 netdev_dbg(ieee->dev, "%s(): frame(%d) sentd to: %pM, ieee 126 rtllib_DELBA(struct rtllib_device *ieee, u8 *dst, struct ba_record *ba, enum tr_select tx_rx_select, u16 reason_code) argument 176 rtllib_send_add_ba_req(struct rtllib_device *ieee, u8 *dst, struct ba_record *ba) argument 189 rtllib_send_add_ba_rsp(struct rtllib_device *ieee, u8 *dst, struct ba_record *ba, u16 status_code) argument 201 rtllib_send_DELBA(struct rtllib_device *ieee, u8 *dst, struct ba_record *ba, enum tr_select tx_rx_select, u16 reason_code) argument 214 rtllib_rx_add_ba_req(struct rtllib_device *ieee, struct sk_buff *skb) argument 303 rtllib_rx_add_ba_rsp(struct rtllib_device *ieee, struct sk_buff *skb) argument 402 rtllib_rx_DELBA(struct rtllib_device *ieee, struct sk_buff *skb) argument 464 rtllib_ts_init_add_ba(struct rtllib_device *ieee, struct tx_ts_record *ts, u8 policy, u8 overwrite_pending) argument 487 rtllib_ts_init_del_ba(struct rtllib_device *ieee, struct ts_common_info *ts_common_info, enum tr_select tx_rx_select) argument 525 struct rtllib_device *ieee = container_of(ts, struct rtllib_device, local 537 struct rtllib_device *ieee = container_of(ts, struct rtllib_device, local [all...] |
H A D | rtllib_rx.c | 38 static void rtllib_rx_mgt(struct rtllib_device *ieee, struct sk_buff *skb, 41 static inline void rtllib_monitor_rx(struct rtllib_device *ieee, argument 46 skb->dev = ieee->dev; 57 rtllib_frag_cache_find(struct rtllib_device *ieee, unsigned int seq, argument 64 entry = &ieee->frag_cache[tid][i]; 67 netdev_dbg(ieee->dev, 86 rtllib_frag_cache_get(struct rtllib_device *ieee, argument 116 skb = dev_alloc_skb(ieee->dev->mtu + 127 entry = &ieee->frag_cache[tid][ieee 157 rtllib_frag_cache_invalidate(struct rtllib_device *ieee, struct ieee80211_hdr *hdr) argument 204 rtllib_rx_frame_mgmt(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, u16 type, u16 stype) argument 230 rtllib_is_eapol_frame(struct rtllib_device *ieee, struct sk_buff *skb, size_t hdrlen) argument 272 rtllib_rx_frame_decrypt(struct rtllib_device *ieee, struct sk_buff *skb, struct lib80211_crypt_data *crypt) argument 312 rtllib_rx_frame_decrypt_msdu(struct rtllib_device *ieee, struct sk_buff *skb, int keyidx, struct lib80211_crypt_data *crypt) argument 348 is_duplicate_packet(struct rtllib_device *ieee, struct ieee80211_hdr *header) argument 431 rtllib_indicate_packets(struct rtllib_device *ieee, struct rtllib_rxb **prxbIndicateArray, u8 index) argument 490 rtllib_flush_rx_ts_pending_pkts(struct rtllib_device *ieee, struct rx_ts_record *ts) argument 523 RxReorderIndicatePacket(struct rtllib_device *ieee, struct rtllib_rxb *prxb, struct rx_ts_record *ts, u16 SeqNum) argument 724 parse_subframe(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, struct rtllib_rxb *rxb, u8 *src, u8 *dst) argument 851 rtllib_rx_get_hdrlen(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 871 rtllib_rx_check_duplicate(struct rtllib_device *ieee, struct sk_buff *skb, u8 multicast) argument 910 rtllib_rx_extract_addr(struct rtllib_device *ieee, struct ieee80211_hdr *hdr, u8 *dst, u8 *src, u8 *bssid) argument 940 rtllib_rx_data_filter(struct rtllib_device *ieee, struct ieee80211_hdr *hdr, u8 *dst, u8 *src, u8 *bssid, u8 *addr2) argument 982 rtllib_rx_get_crypt(struct rtllib_device *ieee, struct sk_buff *skb, struct lib80211_crypt_data **crypt, size_t hdrlen) argument 1014 rtllib_rx_decrypt(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats, struct lib80211_crypt_data *crypt, size_t hdrlen) argument 1143 rtllib_rx_check_leave_lps(struct rtllib_device *ieee, u8 unicast, u8 nr_subframes) argument 1158 rtllib_rx_indicate_pkt_legacy(struct rtllib_device *ieee, struct rtllib_rx_stats *rx_stats, struct rtllib_rxb *rxb, u8 *dst, u8 *src) argument 1226 rtllib_rx_InfraAdhoc(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 1386 rtllib_rx_Monitor(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 1418 rtllib_rx(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *rx_stats) argument 1567 rtllib_parse_qos_info_param_IE(struct rtllib_device *ieee, struct rtllib_info_element *info_element, struct rtllib_network *network) argument 1661 rtllib_parse_mife_generic(struct rtllib_device *ieee, struct rtllib_info_element *info_element, struct rtllib_network *network, u16 *tmp_htcap_len, u16 *tmp_htinfo_len) argument 1888 rtllib_parse_info_param(struct rtllib_device *ieee, struct rtllib_info_element *info_element, u16 length, struct rtllib_network *network, struct rtllib_rx_stats *stats) argument 2149 rtllib_network_init( struct rtllib_device *ieee, struct rtllib_probe_response *beacon, struct rtllib_network *network, struct rtllib_rx_stats *stats) argument 2249 update_network(struct rtllib_device *ieee, struct rtllib_network *dst, struct rtllib_network *src) argument 2385 rtllib_process_probe_response( struct rtllib_device *ieee, struct rtllib_probe_response *beacon, struct rtllib_rx_stats *stats) argument 2543 rtllib_rx_mgt(struct rtllib_device *ieee, struct sk_buff *skb, struct rtllib_rx_stats *stats) argument [all...] |
H A D | rtllib_tx.c | 97 * into N parts of size ieee->fts. The first fragment contains the SNAP header 102 * the case of WEP) So if you have 1500 bytes of payload with ieee->fts set to 157 int rtllib_encrypt_fragment(struct rtllib_device *ieee, struct sk_buff *frag, argument 163 crypt = ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; 166 netdev_info(ieee->dev, "=========>%s(), crypt is null\n", 186 netdev_info(ieee->dev, "%s: Encryption failed: len=%d.\n", 187 ieee->dev->name, frag->len); 265 static void rtllib_tx_query_agg_cap(struct rtllib_device *ieee, argument 269 struct rt_hi_throughput *ht_info = ieee 322 rtllib_query_ShortPreambleMode(struct rtllib_device *ieee, struct cb_desc *tcb_desc) argument 333 rtllib_query_HTCapShortGI(struct rtllib_device *ieee, struct cb_desc *tcb_desc) argument 349 rtllib_query_BandwidthMode(struct rtllib_device *ieee, struct cb_desc *tcb_desc) argument 369 rtllib_query_protectionmode(struct rtllib_device *ieee, struct cb_desc *tcb_desc, struct sk_buff *skb) argument 453 rtllib_txrate_selectmode(struct rtllib_device *ieee, struct cb_desc *tcb_desc) argument 468 rtllib_query_seqnum(struct rtllib_device *ieee, struct sk_buff *skb, u8 *dst) argument 508 rtllib_current_rate(struct rtllib_device *ieee) argument 521 struct rtllib_device *ieee = (struct rtllib_device *) local [all...] |
H A D | rtllib_wx.c | 26 static inline char *rtl819x_translate_scan(struct rtllib_device *ieee, argument 137 max_mcs = ht_get_highest_mcs_rate(ieee, ht_cap->MCS, 219 int rtllib_wx_get_scan(struct rtllib_device *ieee, argument 231 netdev_dbg(ieee->dev, "Getting scan\n"); 232 mutex_lock(&ieee->wx_mutex); 233 spin_lock_irqsave(&ieee->lock, flags); 235 list_for_each_entry(network, &ieee->network_list, list) { 241 if (ieee->scan_age == 0 || 242 time_after(network->last_scanned + ieee->scan_age, jiffies)) 243 ev = rtl819x_translate_scan(ieee, e 266 rtllib_wx_set_encode(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *keybuf) argument 423 rtllib_wx_get_encode(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *keybuf) argument 466 rtllib_wx_set_encode_ext(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 614 rtllib_wx_set_mlme(struct rtllib_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 661 rtllib_wx_set_auth(struct rtllib_device *ieee, struct iw_request_info *info, struct iw_param *data, char *extra) argument 714 rtllib_wx_set_gen_ie(struct rtllib_device *ieee, u8 *ie, size_t len) argument [all...] |
H A D | rtllib.h | 1473 u8 (*rtllib_ap_sec_type)(struct rtllib_device *ieee); 1609 int rtllib_encrypt_fragment(struct rtllib_device *ieee, 1617 int rtllib_rx(struct rtllib_device *ieee, struct sk_buff *skb, 1622 int rtllib_wx_get_scan(struct rtllib_device *ieee, 1625 int rtllib_wx_set_encode(struct rtllib_device *ieee, 1628 int rtllib_wx_get_encode(struct rtllib_device *ieee, 1631 int rtllib_wx_set_encode_ext(struct rtllib_device *ieee, 1634 int rtllib_wx_set_auth(struct rtllib_device *ieee, 1637 int rtllib_wx_set_mlme(struct rtllib_device *ieee, 1640 int rtllib_wx_set_gen_ie(struct rtllib_device *ieee, u [all...] |
/linux-master/drivers/net/wireless/intel/ipw2x00/ |
H A D | libipw_geo.c | 31 int libipw_is_valid_channel(struct libipw_device *ieee, u8 channel) argument 37 if (ieee->geo.bg_channels == 0 && ieee->geo.a_channels == 0) 40 if (ieee->freq_band & LIBIPW_24GHZ_BAND) 41 for (i = 0; i < ieee->geo.bg_channels; i++) 45 if ((ieee->geo.bg[i].channel == channel) && 46 !(ieee->geo.bg[i].flags & LIBIPW_CH_INVALID) && 47 (!(ieee->mode & IEEE_G) || 48 !(ieee->geo.bg[i].flags & LIBIPW_CH_B_ONLY))) 51 if (ieee 60 libipw_channel_to_index(struct libipw_device *ieee, u8 channel) argument 82 libipw_channel_to_freq(struct libipw_device * ieee, u8 channel) argument 97 libipw_freq_to_channel(struct libipw_device * ieee, u32 freq) argument 121 libipw_set_geo(struct libipw_device *ieee, const struct libipw_geo *geo) argument 134 libipw_get_geo(struct libipw_device *ieee) argument 139 libipw_get_channel_flags(struct libipw_device * ieee, u8 channel) argument 158 libipw_get_channel(struct libipw_device *ieee, u8 channel) argument [all...] |
H A D | libipw_module.c | 55 static int libipw_networks_allocate(struct libipw_device *ieee) argument 60 ieee->networks[i] = kzalloc(sizeof(struct libipw_network), 62 if (!ieee->networks[i]) { 65 kfree(ieee->networks[j]); 73 static inline void libipw_networks_free(struct libipw_device *ieee) argument 78 kfree(ieee->networks[i]); 81 void libipw_networks_age(struct libipw_device *ieee, argument 88 spin_lock_irqsave(&ieee->lock, flags); 89 list_for_each_entry(network, &ieee->network_list, list) { 92 spin_unlock_irqrestore(&ieee 96 libipw_networks_initialize(struct libipw_device *ieee) argument 109 struct libipw_device *ieee; local 192 struct libipw_device *ieee = netdev_priv(dev); local [all...] |
H A D | libipw_tx.c | 78 N parts of size ieee->fts. The first fragment contains the SNAP header and the 83 So if you have 1500 bytes of payload with ieee->fts set to 500 without 138 static int libipw_encrypt_fragment(struct libipw_device *ieee, argument 142 ieee->crypt_info.crypt[ieee->crypt_info.tx_keyidx]; 158 ieee->dev->name, frag->len); 159 ieee->ieee_stats.tx_discards++; 243 struct libipw_device *ieee = netdev_priv(dev); local 263 if (ieee->is_queue_full && (*ieee [all...] |
H A D | libipw_rx.c | 35 static void libipw_monitor_rx(struct libipw_device *ieee, argument 42 skb->dev = ieee->dev; 54 *ieee, 64 entry = &ieee->frag_cache[i]; 85 static struct sk_buff *libipw_frag_cache_get(struct libipw_device *ieee, argument 99 skb = dev_alloc_skb(ieee->dev->mtu + 107 entry = &ieee->frag_cache[ieee->frag_next_idx]; 108 ieee->frag_next_idx++; 109 if (ieee 52 libipw_frag_cache_find(struct libipw_device *ieee, unsigned int seq, unsigned int frag, u8 * src, u8 * dst) argument 136 libipw_frag_cache_invalidate(struct libipw_device *ieee, struct libipw_hdr_4addr *hdr) argument 166 libipw_rx_frame_mgmt(struct libipw_device *ieee, struct sk_buff *skb, struct libipw_rx_stats *rx_stats, u16 type, u16 stype) argument 227 libipw_is_eapol_frame(struct libipw_device *ieee, struct sk_buff *skb) argument 268 libipw_rx_frame_decrypt(struct libipw_device *ieee, struct sk_buff *skb, struct lib80211_crypt_data *crypt) argument 299 libipw_rx_frame_decrypt_msdu(struct libipw_device *ieee, struct sk_buff *skb, int keyidx, struct lib80211_crypt_data *crypt) argument 328 libipw_rx(struct libipw_device *ieee, struct sk_buff *skb, struct libipw_rx_stats *rx_stats) argument 832 libipw_rx_any(struct libipw_device *ieee, struct sk_buff *skb, struct libipw_rx_stats *stats) argument 1298 libipw_handle_assoc_resp(struct libipw_device *ieee, struct libipw_assoc_response *frame, struct libipw_rx_stats *stats) argument 1356 libipw_network_init(struct libipw_device *ieee, struct libipw_probe_response *beacon, struct libipw_network *network, struct libipw_rx_stats *stats) argument 1502 libipw_process_probe_response(struct libipw_device *ieee, struct libipw_probe_response *beacon, struct libipw_rx_stats *stats) argument 1613 libipw_rx_mgt(struct libipw_device *ieee, struct libipw_hdr_4addr *header, struct libipw_rx_stats *stats) argument [all...] |
H A D | libipw_wx.c | 45 static char *libipw_translate_scan(struct libipw_device *ieee, argument 93 iwe.u.freq.m = libipw_channel_to_freq(ieee, network->channel); 151 if (ieee->perfect_rssi == ieee->worst_rssi) 156 (ieee->perfect_rssi - ieee->worst_rssi) * 157 (ieee->perfect_rssi - ieee->worst_rssi) - 158 (ieee->perfect_rssi - network->stats.rssi) * 159 (15 * (ieee 250 libipw_wx_get_scan(struct libipw_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 296 libipw_wx_set_encode(struct libipw_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *keybuf) argument 462 libipw_wx_get_encode(struct libipw_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *keybuf) argument 502 libipw_wx_set_encodeext(struct libipw_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument 665 libipw_wx_get_encodeext(struct libipw_device *ieee, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) argument [all...] |
H A D | libipw.h | 844 static inline int libipw_is_valid_mode(struct libipw_device *ieee, argument 854 (ieee->modulation & LIBIPW_OFDM_MODULATION) && 855 (ieee->freq_band & LIBIPW_52GHZ_BAND)) 859 (ieee->modulation & LIBIPW_OFDM_MODULATION) && 860 (ieee->freq_band & LIBIPW_24GHZ_BAND)) 864 (ieee->modulation & LIBIPW_CCK_MODULATION) && 865 (ieee->freq_band & LIBIPW_24GHZ_BAND)) 946 void libipw_networks_age(struct libipw_device *ieee, unsigned long age_secs); 948 int libipw_set_encryption(struct libipw_device *ieee); 955 void libipw_rx_any(struct libipw_device *ieee, struc 991 libipw_increment_scans(struct libipw_device *ieee) argument 996 libipw_get_scans(struct libipw_device *ieee) argument [all...] |
H A D | ipw2200.c | 1453 return sprintf(buf, "%d\n", priv->ieee->scan_age); 1470 priv->ieee->scan_age = val; 1471 IPW_DEBUG_INFO("set scan_age = %u\n", priv->ieee->scan_age); 1718 wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, true); 1721 wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, false); 1814 if (libipw_is_valid_channel(priv->ieee, channel)) 1864 const struct libipw_geo *geo = libipw_get_geo(priv->ieee); 2008 wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, true); 2043 if (priv->ieee->sec.encrypt) { 2434 const struct libipw_geo *geo = libipw_get_geo(priv->ieee); 6420 struct libipw_device *ieee = priv->ieee; local 6472 struct libipw_device *ieee = priv->ieee; local 6507 struct libipw_device *ieee = priv->ieee; local 6550 struct libipw_device *ieee = priv->ieee; local 6650 struct libipw_device *ieee = priv->ieee; local [all...] |
H A D | ipw2100.c | 1148 wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, false); 1160 wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, true); 1163 wiphy_rfkill_set_hw_state(priv->ieee->wdev.wiphy, false); 1628 if ((priv->ieee->sec.flags & SEC_ENABLED) && priv->ieee->sec.enabled) 1657 if (priv->ieee->iw_mode == IW_MODE_MONITOR) 1705 libipw_networks_age(priv->ieee, priv->suspend_time); 1763 libipw_set_geo(priv->ieee, &ipw_geos[0]); 1764 priv->ieee->freq_band = LIBIPW_24GHZ_BAND; 1879 const struct libipw_geo *geo = libipw_get_geo(priv->ieee); 5848 struct libipw_device *ieee = priv->ieee; local 7515 struct libipw_device *ieee = priv->ieee; local 7550 struct libipw_device *ieee = priv->ieee; local 7572 struct libipw_device *ieee = priv->ieee; local 7665 struct libipw_device *ieee = priv->ieee; local [all...] |
/linux-master/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_cam.c | 28 struct rtllib_device *ieee = priv->rtllib; local 31 if (((ieee->pairwise_key_type == KEY_TYPE_WEP40) || 32 (ieee->pairwise_key_type == KEY_TYPE_WEP104)) && 38 ieee->hwsec_active = 1; 39 if ((ieee->ht_info->iot_action & HT_IOT_ACT_PURE_N_MODE) || !hwwep) { 40 ieee->hwsec_active = 0; 50 struct rtllib_device *ieee = priv->rtllib; local 55 ieee->swcamtable[EntryNo].bused = true; 56 ieee->swcamtable[EntryNo].key_index = KeyIndex; 57 ieee [all...] |
H A D | rtl_wx.c | 235 struct rtllib_device *ieee = priv->rtllib; local 239 if (!(ieee->softmac_features & IEEE_SOFTMAC_SCAN)) { 240 if ((ieee->link_state >= RTLLIB_ASSOCIATING) && 241 (ieee->link_state <= RTLLIB_ASSOCIATING_AUTHENTICATED)) 265 ieee->current_network.ssid_len = len; 266 memcpy(ieee->current_network.ssid, req->essid, len); 291 ieee->ScanOperationBackupHandler(ieee->dev, SCAN_OPT_BACKUP); 295 ieee->ScanOperationBackupHandler(ieee 503 struct rtllib_device *ieee = priv->rtllib; local 656 struct rtllib_device *ieee = priv->rtllib; local 784 struct rtllib_device *ieee = priv->rtllib; local 837 struct rtllib_device *ieee = priv->rtllib; local [all...] |
H A D | rtl_ps.c | 34 struct rtllib_device *ieee = container_of_dwork_rsl(data, local 36 struct net_device *dev = ieee->dev; 59 struct rtllib_device *ieee = container_of_dwork_rsl(data, local 61 struct net_device *dev = ieee->dev; 144 struct rtllib_device *ieee = container_of(data, struct rtllib_device, ips_leave_wq); local 145 struct net_device *dev = ieee->dev;
|
H A D | rtl_core.c | 117 struct rtllib_device *ieee = priv->rtllib; local 171 if (ieee->link_state == MAC80211_LINKED) 199 &ieee->associate_procedure_wq, 0); 284 struct rtllib_device *ieee = priv->rtllib; local 285 struct rtllib_network *net = &ieee->current_network; 287 if (ieee->ht_info->current_ht_support) 288 HT_update_self_and_peer_setting(ieee, net); 289 ieee->ht_info->current_rt2rt_long_slot_time = net->bssht.bd_rt2rt_long_slot_time; 513 struct rtllib_device *ieee = priv->rtllib; local 515 if (ieee 940 struct rtllib_device *ieee = priv->rtllib; local 1567 struct rtllib_device *ieee = priv->rtllib; local [all...] |
H A D | r8192E_dev.c | 676 struct rtllib_device *ieee = priv->rtllib; local 681 if (ieee->link_state == MAC80211_LINKED) { 684 if ((ieee->pairwise_key_type == KEY_TYPE_WEP40) || 685 (ieee->pairwise_key_type == KEY_TYPE_WEP104)) 692 if (ieee->iw_mode == IW_MODE_INFRA) { 1718 struct rtllib_device *ieee = priv->rtllib; local 1719 u8 *pMcsRate = ieee->dot11ht_oper_rate_set; 1726 switch (ieee->mode) { 1741 if (ieee->ht_info->cur_tx_bw40mhz && 1742 ieee 1904 struct rtllib_device *ieee = priv->rtllib; local 1918 struct rtllib_device *ieee = priv->rtllib; local [all...] |
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_dcbx.c | 83 static bool qed_dcbx_default_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) argument 87 if (ieee) 95 static bool qed_dcbx_iscsi_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) argument 99 if (ieee) 108 static bool qed_dcbx_fcoe_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) argument 112 if (ieee) 120 static bool qed_dcbx_roce_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) argument 124 if (ieee) 132 static bool qed_dcbx_roce_v2_tlv(u32 app_info_bitmap, u16 proto_id, bool ieee) argument 136 if (ieee) 221 qed_dcbx_get_app_protocol_type(struct qed_hwfn *p_hwfn, u32 app_prio_bitmap, u16 id, enum dcbx_protocol_type *type, bool ieee) argument 256 bool enable, ieee, eth_tlv; local 455 qed_dcbx_get_app_data(struct qed_hwfn *p_hwfn, struct dcbx_app_priority_feature *p_app, struct dcbx_app_priority_entry *p_tbl, struct qed_dcbx_params *p_params, bool ieee) argument 593 qed_dcbx_get_common_params(struct qed_hwfn *p_hwfn, struct dcbx_app_priority_feature *p_app, struct dcbx_app_priority_entry *p_tbl, struct dcbx_ets_feature *p_ets, u32 pfc, struct qed_dcbx_params *p_params, bool ieee) argument 1095 qed_dcbx_set_app_data(struct qed_hwfn *p_hwfn, struct dcbx_app_priority_feature *p_app, struct qed_dcbx_params *p_params, bool ieee) argument 1171 bool ieee = false; local [all...] |
/linux-master/net/dcb/ |
H A D | dcbnl.c | 1142 struct nlattr *ieee, *app, *rewr; local 1150 ieee = nla_nest_start_noflag(skb, DCB_ATTR_IEEE); 1151 if (!ieee) 1300 nla_nest_end(skb, ieee); 1564 struct nlattr *ieee[DCB_ATTR_IEEE_MAX + 1]; local 1574 err = nla_parse_nested_deprecated(ieee, DCB_ATTR_IEEE_MAX, 1580 if (ieee[DCB_ATTR_IEEE_ETS] && ops->ieee_setets) { 1581 struct ieee_ets *ets = nla_data(ieee[DCB_ATTR_IEEE_ETS]); 1587 if (ieee[DCB_ATTR_IEEE_MAXRATE] && ops->ieee_setmaxrate) { 1589 nla_data(ieee[DCB_ATTR_IEEE_MAXRAT 1711 struct nlattr *ieee[DCB_ATTR_IEEE_MAX + 1]; local [all...] |