#endif
if (priv->rtllib->state != RTLLIB_LINKED)
-#ifndef CONFIG_MP
rtllib_softmac_start_protocol(priv->rtllib, 0);
-#endif
rtllib_reset_queue(priv->rtllib);
-#ifndef CONFIG_MP
watch_dog_timer_callback((unsigned long) dev);
-#endif
if (!netif_queue_stopped(dev))
struct r8192_priv *priv = rtllib_priv(dev);
memset(&(priv->stats),0,sizeof(struct Stats));
-#ifdef CONFIG_MP
- rtl8192_init_mp(dev);
-#endif
rtl8192_dbgp_flag_init(dev);
int rtl8192_down(struct net_device *dev, bool shutdownrf)
{
-#ifdef CONFIG_MP
- struct r8192_priv *priv = rtllib_priv(dev);
-#endif
-
if (rtl8192_sta_down(dev, shutdownrf) == -1)
return -1;
-#ifdef CONFIG_MP
- if (priv->bCckContTx) {
- RT_TRACE(COMP_DBG, "####RTL819X MP####stop single cck continious TX\n");
- mpt_StopCckCoNtTx(dev);
- }
- if (priv->bOfdmContTx) {
- RT_TRACE(COMP_DBG, "####RTL819X MP####stop single ofdm continious TX\n");
- mpt_StopOfdmContTx(dev);
- }
- if (priv->bSingleCarrier) {
- RT_TRACE(COMP_DBG, "####RTL819X MP####stop single carrier mode\n");
- MPT_ProSetSingleCarrier(dev, false);
- }
-#endif
return 0;
}
#include "dot11d.h"
#endif
-#ifdef CONFIG_MP
-#include "r8192S_mp.h"
-#endif
-
#define RATE_COUNT 12
u32 rtl8192_rates[] = {1000000,2000000,5500000,11000000,
6000000,9000000,12000000,18000000,24000000,36000000,48000000,54000000};
RT_RF_POWER_STATE rtState;
int ret;
-#ifdef CONFIG_MP
- printk("######################%s(): In MP Test Can not Scan\n",__func__);
- return 0;
-#endif
if (!(ieee->softmac_features & IEEE_SOFTMAC_SCAN)){
if ((ieee->state >= RTLLIB_ASSOCIATING) && (ieee->state <= RTLLIB_ASSOCIATING_AUTHENTICATED)){
return 0;
if ((rtllib_act_scanning(priv->rtllib, false)) && !(priv->rtllib->softmac_features & IEEE_SOFTMAC_SCAN)){
;
}
-#ifdef CONFIG_MP
- printk("######################%s(): In MP Test Can not Set Essid\n",__func__);
- return 0;
-#endif
if (priv->bHwRadioOff == true){
printk("=========>%s():hw radio off,or Rf state is eRfOff, return\n",__func__);
return 0;
if ((rtllib_act_scanning(priv->rtllib, false)) && !(priv->rtllib->softmac_features & IEEE_SOFTMAC_SCAN)){
;
}
-#ifdef CONFIG_MP
- printk("######################%s(): In MP Test Can not Set Enc\n",__func__);
- return 0;
-#endif
if (priv->bHwRadioOff == true)
return 0;
SIOCIWFIRSTPRIV + 0xc,
0, IW_PRIV_TYPE_CHAR|2047, "adhoc_peer_list"
}
-#ifdef CONFIG_MP
- ,
- {
- SIOCIWFIRSTPRIV + 0xe,
- IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "SetChan"
- }
- ,
- {
- SIOCIWFIRSTPRIV + 0xf,
- IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "SetRate"
- }
- ,
- {
- SIOCIWFIRSTPRIV + 0x10,
- IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "SetTxPower"
- }
- ,
- {
- SIOCIWFIRSTPRIV + 0x11,
- IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "SetBW"
- }
- ,
- {
- SIOCIWFIRSTPRIV + 0x12,
- IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1, 0, "TxStart"
- }
- ,
- {
- SIOCIWFIRSTPRIV + 0x13,
- IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 1,0, "SetSingleCarrier"
- }
- ,
- {
- SIOCIWFIRSTPRIV + 0x14,
- IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 3, 0, "WriteRF"
- }
- ,
- {
- SIOCIWFIRSTPRIV + 0x15,
- IW_PRIV_TYPE_INT | IW_PRIV_SIZE_FIXED | 3, 0, "WriteMAC"
- }
-#endif
,
{
SIOCIWFIRSTPRIV + 0x16,
(iw_handler)r8192se_wx_set_force_lps,
(iw_handler)r8192_wx_get_adhoc_peers,
(iw_handler)NULL,
-#ifdef CONFIG_MP
- (iw_handler)r8192_wx_mp_set_chan,
- (iw_handler)r8192_wx_mp_set_txrate,
- (iw_handler)r8192_wx_mp_set_txpower,
- (iw_handler)r8192_wx_mp_set_bw,
- (iw_handler)r8192_wx_mp_set_txstart,
- (iw_handler)r8192_wx_mp_set_singlecarrier,
- (iw_handler)r8192_wx_mp_write_rf,
- (iw_handler)r8192_wx_mp_write_mac,
-#else
(iw_handler)NULL,
(iw_handler)NULL,
(iw_handler)NULL,
(iw_handler)NULL,
(iw_handler)NULL,
(iw_handler)NULL,
-#endif
(iw_handler)r8192_wx_set_PromiscuousMode,
(iw_handler)r8192_wx_get_PromiscuousMode,
};