
MlmeRestartStateMachine(pAd);
}
pAd->MlmeAux.CurrReqIsFromNdis = FALSE;
MlmeEnqueue(pAd,
MLME_CNTL_STATE_MACHINE,
OID_802_11_SSID,
sizeof(NDIS_802_11_SSID),
(VOID *)pSsid);
Status = NDIS_STATUS_SUCCESS;
StateMachineTouched = TRUE;
Channel / Frequency
(Hz)
SIOCSIWFREQ
frq = &wrq->u.freq;
if((frq->e == 0) && (frq->m <= 1000))
chan = frq->m; // Setting by channel number
else
MAP_KHZ_TO_CHANNEL_ID( (frq->m /100) , chan);
pAd->CommonCfg.Channel = chan;
node name/nickname
SIOCSIWNICKN
erq = &wrq->u.data;
if (erq->flags)
{
if (erq->length <= IW_ESSID_MAX_SIZE)
Status = copy_from_user(pAd->nickn, erq->pointer, erq->length);
else
Status = -E2BIG;
}
Bit Rate
(bps)
SIOCSIWRATE
RTMPSetDesiredRates(pAd, wrq->u.bitrate.value);
RTS/CTS threshold
SIOCSIWRTS
RtsThresh = wrq->u.rts.value;
if (wrq->u.rts.disabled)
RtsThresh = MAX_RTS_THRESHOLD;
if((RtsThresh > 0) && (RtsThresh <= MAX_RTS_THRESHOLD))
pAd->CommonCfg.RtsThreshold = (USHORT)RtsThresh;
else if (RtsThresh == 0)
pAd->CommonCfg.RtsThreshold = MAX_RTS_THRESHOLD;
46/75