/linux-2.6.39/drivers/staging/rtl8192u/ |
D | Makefile | 12 ccflags-y += -Idrivers/staging/rtl8192u/ieee80211 17 ieee80211/ieee80211_crypt.o \ 18 ieee80211/ieee80211_crypt_tkip.o \ 19 ieee80211/ieee80211_crypt_ccmp.o \ 20 ieee80211/ieee80211_crypt_wep.o \ 21 ieee80211/ieee80211_rx.o \ 22 ieee80211/ieee80211_softmac.o \ 23 ieee80211/ieee80211_tx.o \ 24 ieee80211/ieee80211_wx.o \ 25 ieee80211/ieee80211_module.o \ [all …]
|
D | r8192U_core.c | 191 struct ieee80211_device* ieee = priv->ieee80211; in rtl819x_set_channel_map() 488 struct ieee80211_device *ieee = priv->ieee80211; in proc_get_stats_ap() 851 if (priv->ieee80211->state == IEEE80211_LINKED){ in rtl8192_update_msr() 853 if (priv->ieee80211->iw_mode == IW_MODE_INFRA) in rtl8192_update_msr() 855 else if (priv->ieee80211->iw_mode == IW_MODE_ADHOC) in rtl8192_update_msr() 857 else if (priv->ieee80211->iw_mode == IW_MODE_MASTER) in rtl8192_update_msr() 976 if(priv->ieee80211->iw_mode == IW_MODE_MONITOR || \ in rtl8192_set_rxconf() 988 if(priv->ieee80211->iw_mode == IW_MODE_MONITOR){ in rtl8192_set_rxconf() 993 if( priv->crcmon == 1 && priv->ieee80211->iw_mode == IW_MODE_MONITOR) in rtl8192_set_rxconf() 1123 priv->ieee80211->stats.rx_errors++; in rtl8192_rx_isr() [all …]
|
D | r8192U_wx.c | 41 return ieee80211_wx_get_freq(priv->ieee80211,a,wrqu,b); in r8192_wx_get_freq() 50 return ieee80211_wx_get_mode(priv->ieee80211,a,wrqu,b); in r8192_wx_get_mode() 60 return ieee80211_wx_get_rate(priv->ieee80211,info,wrqu,extra); in r8192_wx_get_rate() 74 ret = ieee80211_wx_set_rate(priv->ieee80211,info,wrqu,extra); in r8192_wx_set_rate() 91 ret = ieee80211_wx_set_rts(priv->ieee80211,info,wrqu,extra); in r8192_wx_set_rts() 103 return ieee80211_wx_get_rts(priv->ieee80211,info,wrqu,extra); in r8192_wx_get_rts() 115 ret = ieee80211_wx_set_power(priv->ieee80211,info,wrqu,extra); in r8192_wx_set_power() 127 return ieee80211_wx_get_power(priv->ieee80211,info,wrqu,extra); in r8192_wx_get_power() 250 struct ieee80211_device *ieee = priv->ieee80211; in r8192_wx_get_ap_status() 305 ret = ieee80211_wx_set_rawtx(priv->ieee80211, info, wrqu, extra); in r8192_wx_set_rawtx() [all …]
|
D | r819xU_cmdpkt.c | 69 if(!priv->ieee80211->check_nic_enough_desc(dev,tcb_desc->queue_index)|| in SendTxCommandPacket() 70 (!skb_queue_empty(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index]))||\ in SendTxCommandPacket() 71 (priv->ieee80211->queue_stop) ) { in SendTxCommandPacket() 73 skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb); in SendTxCommandPacket() 75 priv->ieee80211->softmac_hard_start_xmit(skb,dev); in SendTxCommandPacket() 166 if(!priv->ieee80211->check_nic_enough_desc(dev,tcb_desc->queue_index)|| in cmpk_message_handle_tx() 167 (!skb_queue_empty(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index]))||\ in cmpk_message_handle_tx() 168 (priv->ieee80211->queue_stop) ) { in cmpk_message_handle_tx() 170 skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb); in cmpk_message_handle_tx() 172 priv->ieee80211->softmac_hard_start_xmit(skb,dev); in cmpk_message_handle_tx() [all …]
|
D | r8192U_dm.c | 203 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_CheckRxAggregation() 357 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_rate_adaptive() 375 if( !(priv->ieee80211->mode == WIRELESS_MODE_N_24G || in dm_check_rate_adaptive() 376 priv->ieee80211->mode == WIRELESS_MODE_N_5G)) in dm_check_rate_adaptive() 379 if( priv->ieee80211->state == IEEE80211_LINKED ) in dm_check_rate_adaptive() 477 if(priv->ieee80211->GetHalfNmodeSupportByAPsHandler(dev)) in dm_check_rate_adaptive() 512 priv->ieee80211->bandwidth_auto_switch.threshold_20Mhzto40Mhz = BW_AUTO_SWITCH_LOW_HIGH; in dm_init_bandwidth_autoswitch() 513 priv->ieee80211->bandwidth_auto_switch.threshold_40Mhzto20Mhz = BW_AUTO_SWITCH_HIGH_LOW; in dm_init_bandwidth_autoswitch() 514 priv->ieee80211->bandwidth_auto_switch.bforced_tx20Mhz = false; in dm_init_bandwidth_autoswitch() 515 priv->ieee80211->bandwidth_auto_switch.bautoswitch_enable = false; in dm_init_bandwidth_autoswitch() [all …]
|
D | r819xU_firmware.c | 92 if(!priv->ieee80211->check_nic_enough_desc(dev,tcb_desc->queue_index)|| in fw_download_code() 93 (!skb_queue_empty(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index]))||\ in fw_download_code() 94 (priv->ieee80211->queue_stop) ) { in fw_download_code() 96 skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb); in fw_download_code() 98 priv->ieee80211->softmac_hard_start_xmit(skb,dev); in fw_download_code() 136 if(!priv->ieee80211->check_nic_enough_desc(dev,tcb_desc->queue_index)|| in fwSendNullPacket() 137 (!skb_queue_empty(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index]))||\ in fwSendNullPacket() 138 (priv->ieee80211->queue_stop) ) { in fwSendNullPacket() 140 skb_queue_tail(&priv->ieee80211->skb_waitQ[tcb_desc->queue_index], skb); in fwSendNullPacket() 142 priv->ieee80211->softmac_hard_start_xmit(skb,dev); in fwSendNullPacket()
|
/linux-2.6.39/drivers/staging/rtl8192e/ |
D | Makefile | 22 ieee80211/ieee80211_rx.o \ 23 ieee80211/ieee80211_softmac.o \ 24 ieee80211/ieee80211_tx.o \ 25 ieee80211/ieee80211_wx.o \ 26 ieee80211/ieee80211_module.o \ 27 ieee80211/ieee80211_softmac_wx.o \ 28 ieee80211/rtl819x_HTProc.o \ 29 ieee80211/rtl819x_TSProc.o \ 30 ieee80211/rtl819x_BAProc.o \ 31 ieee80211/dot11d.o \ [all …]
|
D | r8192E_wx.c | 42 return ieee80211_wx_get_freq(priv->ieee80211,a,wrqu,b); in r8192_wx_get_freq() 51 return ieee80211_wx_get_mode(priv->ieee80211,a,wrqu,b); in r8192_wx_get_mode() 61 return ieee80211_wx_get_rate(priv->ieee80211,info,wrqu,extra); in r8192_wx_get_rate() 78 ret = ieee80211_wx_set_rate(priv->ieee80211,info,wrqu,extra); in r8192_wx_set_rate() 98 ret = ieee80211_wx_set_rts(priv->ieee80211,info,wrqu,extra); in r8192_wx_set_rts() 110 return ieee80211_wx_get_rts(priv->ieee80211,info,wrqu,extra); in r8192_wx_get_rts() 125 ret = ieee80211_wx_set_power(priv->ieee80211,info,wrqu,extra); in r8192_wx_set_power() 137 return ieee80211_wx_get_power(priv->ieee80211,info,wrqu,extra); in r8192_wx_get_power() 152 ret = ieee80211_wx_set_rawtx(priv->ieee80211, info, wrqu, extra); in r8192_wx_set_rawtx() 233 down(&priv->ieee80211->ips_sem); in r8192_wx_set_mode() [all …]
|
D | r8192E_core.c | 99 static void rtl8192_start_beacon(struct ieee80211_device *ieee80211); 100 static void rtl8192_stop_beacon(struct ieee80211_device *ieee80211); 139 struct ieee80211_device* ieee = priv->ieee80211; in rtl819x_set_channel_map() 274 void rtl8192e_SetHwReg(struct ieee80211_device *ieee80211, u8 variable, u8 *val) in rtl8192e_SetHwReg() argument 276 struct r8192_priv *priv = ieee80211_priv(ieee80211->dev); in rtl8192e_SetHwReg() 371 struct ieee80211_device *ieee = priv->ieee80211; in proc_get_stats_ap() 476 netif_queue_stopped(priv->ieee80211->dev), in proc_get_stats_tx() 478 priv->ieee80211->stats.tx_packets, in proc_get_stats_tx() 479 priv->ieee80211->stats.tx_bytes); in proc_get_stats_tx() 521 struct net_device *dev = priv->ieee80211->dev; in rtl8192_proc_remove_one() [all …]
|
D | r8192E_dm.c | 198 PRT_HIGH_THROUGHPUT pHTInfo = priv->ieee80211->pHTInfo; in dm_check_rate_adaptive() 216 if( !(priv->ieee80211->mode == WIRELESS_MODE_N_24G || in dm_check_rate_adaptive() 217 priv->ieee80211->mode == WIRELESS_MODE_N_5G)) in dm_check_rate_adaptive() 220 if( priv->ieee80211->state == IEEE80211_LINKED ) in dm_check_rate_adaptive() 309 if(priv->ieee80211->GetHalfNmodeSupportByAPsHandler(priv->ieee80211)) in dm_check_rate_adaptive() 342 priv->ieee80211->bandwidth_auto_switch.threshold_20Mhzto40Mhz = BW_AUTO_SWITCH_LOW_HIGH; in dm_init_bandwidth_autoswitch() 343 priv->ieee80211->bandwidth_auto_switch.threshold_40Mhzto20Mhz = BW_AUTO_SWITCH_HIGH_LOW; in dm_init_bandwidth_autoswitch() 344 priv->ieee80211->bandwidth_auto_switch.bforced_tx20Mhz = false; in dm_init_bandwidth_autoswitch() 345 priv->ieee80211->bandwidth_auto_switch.bautoswitch_enable = false; in dm_init_bandwidth_autoswitch() 352 …if(priv->CurrentChannelBW == HT_CHANNEL_WIDTH_20 ||!priv->ieee80211->bandwidth_auto_switch.bautosw… in dm_bandwidth_autoswitch() [all …]
|
D | r8190_rtl8256.c | 438 priv->ieee80211->state = IEEE80211_NOLINK; in MgntDisconnectIBSS() 440 for(i=0;i<6;i++) priv->ieee80211->current_network.bssid[i]= 0x55; in MgntDisconnectIBSS() 442 write_nic_word(priv, BSSIDR, ((u16*)priv->ieee80211->current_network.bssid)[0]); in MgntDisconnectIBSS() 443 write_nic_dword(priv, BSSIDR+2, ((u32*)(priv->ieee80211->current_network.bssid+2))[0]); in MgntDisconnectIBSS() 472 ieee80211_stop_send_beacons(priv->ieee80211); in MgntDisconnectIBSS() 492 notify_wx_assoc_event(priv->ieee80211); in MgntDisconnectIBSS() 501 RemovePeerTS(priv->ieee80211, asSta); in MlmeDisassociateRequest() 503 SendDisassociation( priv->ieee80211, asSta, asRsn ); in MlmeDisassociateRequest() 505 if(memcpy(priv->ieee80211->current_network.bssid,asSta,6) == NULL) in MlmeDisassociateRequest() 509 priv->ieee80211->state = IEEE80211_NOLINK; in MlmeDisassociateRequest() [all …]
|
D | r819xE_cmdpkt.c | 71 skb = dev_alloc_skb(frag_length + priv->ieee80211->tx_headroom + 4); in cmpk_message_handle_tx() 84 seg_ptr = skb_put(skb, priv->ieee80211->tx_headroom); in cmpk_message_handle_tx() 104 priv->ieee80211->softmac_hard_start_xmit(skb, priv->ieee80211); in cmpk_message_handle_tx() 198 if( priv->ieee80211->iw_mode == IW_MODE_ADHOC) in cmpk_handle_interrupt_status() 208 priv->ieee80211->bibsscoordinator = true; in cmpk_handle_interrupt_status() 213 priv->ieee80211->bibsscoordinator = false; in cmpk_handle_interrupt_status()
|
D | r8192_pm.c | 38 if(!priv->ieee80211->bSupportRemoteWakeUp) { in rtl8192E_suspend() 57 if(priv->ieee80211->bSupportRemoteWakeUp) { in rtl8192E_suspend() 64 priv->ieee80211->bSupportRemoteWakeUp?1:0); in rtl8192E_suspend()
|
D | r819xE_phy.h | 120 u8 rtl8192_phy_SwChnl(struct ieee80211_device *ieee80211, u8 channel); 122 void rtl8192_SetBWMode(struct ieee80211_device *ieee80211,
|
D | r819xE_phy.c | 1708 if (!IsLegalChannel(priv->ieee80211, channel)) in rtl8192_phy_SwChnlStepByStep() 1853 u8 rtl8192_phy_SwChnl(struct ieee80211_device *ieee80211, u8 channel) in rtl8192_phy_SwChnl() argument 1855 struct r8192_priv *priv = ieee80211_priv(ieee80211->dev); in rtl8192_phy_SwChnl() 1867 switch(priv->ieee80211->mode) in rtl8192_phy_SwChnl() 1924 if(priv->ieee80211->current_network.channel== 14 && !priv->bcck_in_ch14) in CCK_Tx_Power_Track_BW_Switch_TSSI() 1929 else if(priv->ieee80211->current_network.channel != 14 && priv->bcck_in_ch14) in CCK_Tx_Power_Track_BW_Switch_TSSI() 1950 if(priv->ieee80211->current_network.channel == 14 && !priv->bcck_in_ch14) in CCK_Tx_Power_Track_BW_Switch_TSSI() 1955 else if(priv->ieee80211->current_network.channel != 14 && priv->bcck_in_ch14) in CCK_Tx_Power_Track_BW_Switch_TSSI() 1968 if(priv->ieee80211->current_network.channel == 14 && !priv->bcck_in_ch14) in CCK_Tx_Power_Track_BW_Switch_ThermalMeter() 1970 else if(priv->ieee80211->current_network.channel != 14 && priv->bcck_in_ch14) in CCK_Tx_Power_Track_BW_Switch_ThermalMeter() [all …]
|
/linux-2.6.39/drivers/staging/rtl8187se/ |
D | Makefile | 25 ieee80211/dot11d.o \ 26 ieee80211/ieee80211_softmac.o \ 27 ieee80211/ieee80211_rx.o \ 28 ieee80211/ieee80211_tx.o \ 29 ieee80211/ieee80211_wx.o \ 30 ieee80211/ieee80211_module.o \ 31 ieee80211/ieee80211_softmac_wx.o \ 32 ieee80211/ieee80211_crypt.o \ 33 ieee80211/ieee80211_crypt_tkip.o \ 34 ieee80211/ieee80211_crypt_ccmp.o \ [all …]
|
D | r8180_wx.c | 51 return ieee80211_wx_get_freq(priv->ieee80211, a, wrqu, b); in r8180_wx_get_freq() 61 if (priv->ieee80211->bHwRadioOff) in r8180_wx_set_key() 95 if (priv->ieee80211->bHwRadioOff) in r8180_wx_set_beaconinterval() 101 priv->ieee80211->current_network.beacon_interval = bi; in r8180_wx_set_beaconinterval() 114 return ieee80211_wx_get_mode(priv->ieee80211, a, wrqu, b); in r8180_wx_get_mode() 124 return ieee80211_wx_get_rate(priv->ieee80211, info, wrqu, extra); in r8180_wx_get_rate() 137 if (priv->ieee80211->bHwRadioOff) in r8180_wx_set_rate() 142 ret = ieee80211_wx_set_rate(priv->ieee80211, info, wrqu, extra); in r8180_wx_set_rate() 160 if (priv->ieee80211->bHwRadioOff) in r8180_wx_set_crcmon() 191 if (priv->ieee80211->bHwRadioOff) in r8180_wx_set_mode() [all …]
|
D | r8180_core.c | 518 requiredbyte = priv->ieee80211->fts + sizeof(struct ieee80211_header_data); in check_nic_enought_desc() 610 ieee80211_reset_queue(priv->ieee80211); in fix_tx_fifo() 741 if (priv->ieee80211->state == IEEE80211_LINKED) { in rtl8180_update_msr() 742 if (priv->ieee80211->iw_mode == IW_MODE_ADHOC) in rtl8180_update_msr() 744 else if (priv->ieee80211->iw_mode == IW_MODE_MASTER) in rtl8180_update_msr() 746 else if (priv->ieee80211->iw_mode == IW_MODE_INFRA) in rtl8180_update_msr() 790 if (priv->ieee80211->iw_mode == IW_MODE_MONITOR || \ in rtl8180_rx_enable() 797 if (priv->ieee80211->iw_mode == IW_MODE_MONITOR) { in rtl8180_rx_enable() 803 if (priv->crcmon == 1 && priv->ieee80211->iw_mode == IW_MODE_MONITOR) in rtl8180_rx_enable() 1449 priv->ieee80211->stats.rx_errors++; in rtl8180_rx() [all …]
|
D | r8180_dm.c | 17 struct ieee80211_device *ieee = priv->ieee80211; in CheckHighPower() 67 OfdmTxPwrIdx = priv->chtxpwr_ofdm[priv->ieee80211->current_network.channel]; in DoTxHighPower() 68 CckTxPwrIdx = priv->chtxpwr[priv->ieee80211->current_network.channel]; in DoTxHighPower() 156 struct ieee80211_device *ieee = priv->ieee80211; in CheckDig() 165 if((priv->ieee80211->rate/5) < 36) // Schedule Dig under all OFDM rates. By Bruce, 2007-06-01. in CheckDig() 318 rate_len = priv->ieee80211->current_network.rates_len; in IncludedInSupportedRates() 319 rate_ex_len = priv->ieee80211->current_network.rates_ex_len; in IncludedInSupportedRates() 322 if( (priv->ieee80211->current_network.rates[idx] & RateMask) == NaiveTxRate ) in IncludedInSupportedRates() 330 if( (priv->ieee80211->current_network.rates_ex[idx] & RateMask) == NaiveTxRate ) in IncludedInSupportedRates() 560 rtl8225z2_SetTXPowerLevel(dev, priv->ieee80211->current_network.channel); in TxPwrTracking87SE() [all …]
|
D | r8185b_init.c | 1039 struct ieee80211_device *ieee = priv->ieee80211; in ActUpdateChannelAccessSetting() 1197 struct ieee80211_device *ieee = priv->ieee80211; in ActSetWirelessMode8185() 1268 priv->ieee80211->current_network.bssid[i] = 0x55; in MgntDisconnectIBSS() 1272 priv->ieee80211->state = IEEE80211_NOLINK; in MgntDisconnectIBSS() 1281 ieee80211_stop_send_beacons(priv->ieee80211); in MgntDisconnectIBSS() 1283 priv->ieee80211->link_change(dev); in MgntDisconnectIBSS() 1284 notify_wx_assoc_event(priv->ieee80211); in MgntDisconnectIBSS() 1296 SendDisassociation(priv->ieee80211, asSta, asRsn); in MlmeDisassociateRequest() 1298 if (memcmp(priv->ieee80211->current_network.bssid, asSta, 6) == 0) { in MlmeDisassociateRequest() 1306 priv->ieee80211->current_network.bssid[i] = 0x22; in MlmeDisassociateRequest() [all …]
|
D | TODO | 2 - prepare private ieee80211 stack for merge with rtl8192su's version: 5 - switch to use shared "librtl" instead of private ieee80211 stack
|
D | r8180_rtl8225z2.c | 291 u8 mode = priv->ieee80211->mode; in rtl8225z2_set_gain() 506 if (IS_DOT11D_ENABLE(priv->ieee80211) && in rtl8225z2_SetTXPowerLevel() 507 IS_DOT11D_STATE_DONE(priv->ieee80211)) { in rtl8225z2_SetTXPowerLevel() 508 u8 MaxTxPwrInDbm = DOT11D_GetMaxTxPwrInDbm(priv->ieee80211, ch); in rtl8225z2_SetTXPowerLevel() 598 short gset = (priv->ieee80211->state == IEEE80211_LINKED && in rtl8225_rf_set_chan() 599 ieee80211_is_54g(priv->ieee80211->current_network)) || in rtl8225_rf_set_chan() 600 priv->ieee80211->iw_mode == IW_MODE_MONITOR; in rtl8225_rf_set_chan() 617 if (priv->ieee80211->state == IEEE80211_LINKED && in rtl8225_rf_set_chan() 618 ieee80211_is_shortslot(priv->ieee80211->current_network)) in rtl8225_rf_set_chan() 818 if (priv->ieee80211->mode == IEEE_A) { in rtl8225z2_rf_set_mode()
|
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/ |
D | Makefile | 23 ieee80211-rsl-objs := ieee80211_rx.o \ 39 obj-m +=ieee80211-rsl.o 60 @install -p -m 644 ieee80211-rsl.ko $(MODDESTDIR) 89 …_crypt_wep-rsl.o ieee80211_crypt_tkip-rsl.o ieee80211_crypt_ccmp-rsl.o crypto-rsl.o ieee80211-rsl.o 112 ieee80211-rsl.o: ieee80211_rx.o ieee80211_tx.o ieee80211_wx.o ieee80211_module.o ieee80211_softmac_… 124 @install -p -m 644 ieee80211-rsl.o $(MODDESTDIR)
|
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/ |
D | ieee80211.h | 238 …SifsTime (((priv->ieee80211->current_network.mode == IEEE_A)||(priv->ieee80211->current_network.m… 2127 struct ieee80211_device *ieee80211); 2136 struct ieee80211_device *ieee80211, int rate); 2142 void (*data_hard_stop)(struct ieee80211_device *ieee80211); 2145 void (*data_hard_resume)(struct ieee80211_device *ieee80211); 2151 void (*set_chan)(struct ieee80211_device *ieee80211, short ch); 2168 void (*scan_syncro)(struct ieee80211_device *ieee80211); 2169 void (*start_scan)(struct ieee80211_device *ieee80211); 2170 void (*stop_scan)(struct ieee80211_device *ieee80211); 2177 void (*link_change)(struct ieee80211_device *ieee80211); [all …]
|
/linux-2.6.39/Documentation/networking/ |
D | mac80211-injection.txt | 9 [ ieee80211 header ] 39 The ieee80211 header follows immediately afterwards, looking for example like
|