亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dot11test.c

?? PNE 3.3 wlan source code, running at more than vxworks6.x version
?? C
?? 第 1 頁 / 共 4 頁
字號:
    {    return dot11TestIoctl(ifNum, WIOCSCHANNEL, (caddr_t)channel);    }/****************************************************************************** dot11SecPolSet - Sets the current WPA/RSN security policies*                  of the indicated interface** This routine is a wrapper function that will call WIOCSSECPOL with the* specified security policies.  These are a bitwise OR of the following * parameters (or DOT11_SECPOL_NONE / 0 to disable advanced security) :* DOT11_SECPOL_TSN       _BIT(0)        1* DOT11_SECPOL_WPA       _BIT(1)        2* DOT11_SECPOL_11i       _BIT(2)        4** Note: TSN may only be selected if one of the other modes is enabled.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11SecPolSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int secPol                /* Bitmask of allowed security policies */    )    {    return dot11TestIoctl(ifNum, WIOCSSECPOL, (caddr_t)secPol);    }/****************************************************************************** dot11AuthPolSet - Sets the current WPA/RSN authentication policy*                   of the indicated interface** This routine is a wrapper function that will call WIOCSAUTHPOL to set the * allowed authentication policies on the device.  Allowed options are one or* both of the following, bitwised OR'd together, or DOT11_AUTHPOL_NONE to * disable advanced security.*       DOT11_AUTHPOL_8021X    _BIT(0)         1*       DOT11_AUTHPOL_PSK      _BIT(1)         2*** This parameter should be set to zero if the security policies are set to * zero to avoid an inconsistent system state.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11AuthPolSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int authPol               /* Bitmask of allowed authentication policies */    )    {    return dot11TestIoctl(ifNum, WIOCSAUTHPOL, (caddr_t)authPol);    }/****************************************************************************** dot11CipherPolSet - Sets the current WPA/RSN cipher policies* of the indicated interface** This routine is a wrapper function that will call WIOCSCIPHERPOL to set the * allowed authentication policies on the device.  Allowed options are a bitmask* of the following, OR'd together, or DOT11_CIPHPOL_NONE to disable advanced * security. *       DOT11_KEY_TYPE_WEP40          1*       DOT11_KEY_TYPE_WEP104         2*       DOT11_KEY_TYPE_TKIP           4*       DOT11_KEY_TYPE_AES            8*** This parameter should be set to zero if the security policies are set to * zero to avoid an inconsistent system state.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11CipherPolSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int cipherPol             /* bitmask of allowed cipher policies */    )    {    return dot11TestIoctl(ifNum, WIOCSCIPHPOL, (caddr_t)cipherPol);    }/****************************************************************************** dot11PassphraseSet - Sets the WPA/RSN passphrase for pre-shared key mode** This routine is a wrapper function that will call WIOCSPASSPHRASE with the* specified parameter.  This will set the PSK/Passphrase, and if connected to * or acting as an AP, will regenerate the PSK based on this passphrase. <data>* is a pointer to a NULL-terminated, 8-63 byte string.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11PassphraseSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    char * passphrase    )    {    return dot11TestIoctl(ifNum, WIOCSPASSPHRASE, (caddr_t)passphrase);    }/****************************************************************************** dot11PskSet - Sets the pre-shared key** This routine is a wrapper function for WIOCSPSK, which sets the PSK directly.* This overwrites the setting of WIOCSPASSPHRASE.  <data> is a pointer to an* array of 64 UINT8 values that contain the PSK directly.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11PskSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    UINT8 *psk                /* 64 byte array with new PSK */    )    {    return dot11TestIoctl(ifNum, WIOCSPSK, (caddr_t)psk);    }/****************************************************************************** dot11WepSet - Change WEP mode.** This routine is a wrapper function that will call WIOCSENCRYPTTYPE with the* specified parameter. This changes the WEP type.  It should only be used in* legacy WEP networks, or WPA/RSN networks that have TSN enabled.** <data> is the mode to put WEP in, one of:*     DOT11_KEY_TYPE_WEP40         1*     DOT11_KEY_TYPE_WEP104        2** Set <data> to DOT11_KEY_TYPE_NONE/0 to disable WEP** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11WepSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int encryptType           /* Cipher type for WEP */    )    {    return dot11TestIoctl(ifNum, WIOCSENCRYPTTYPE, (caddr_t)encryptType);    }/****************************************************************************** dot11WepDefaultKeySet - sets the default Wep key ** This routine is a wrapper function that will call WIOCSWEPDEFAULTKEY * to set the WEP key used to transmit packets.  This call is only valid* in legacy WEP mode and WPA/RSN mode ONLY if TSN is enabled.  <data> is * a numeric value between 0 and 3.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11WepDefaultKeySet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int keySlot               /* Keyslot to use for transmission */    )    {    return dot11TestIoctl(ifNum, WIOCSWEPDEFAULTKEY, (caddr_t)keySlot);    }/****************************************************************************** dot11WepKeySet - Sets the specified default key** This routine sets the specified WEP key.  Currently, only key slots 0-3 * are supported by this command.  For WEP key mapping, use WIOCAPAIRWISEKEY.* The WEP key set must be of the type WEP is currently using, as set by* dot11WepSet(). <keySlot> is the keyslot into which to insert the key, and * <keyData> points to an array of a length appropriate for the wep type, * containing the key data.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11WepKeySet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int keySlot,              /* keySlot into which to inset the key */    UINT8 * keyData           /* key data to put into the keySlot */    )    {    DOT11_KEY key;    UINT32 keyType;    UINT32 keyLen;        if (keyData == NULL)        {        return ERROR;        }        if (dot11TestIoctl(ifNum, WIOCGENCRYPTTYPE, (caddr_t)&keyType) != OK)        {        return ERROR;        }        switch(keyType)        {        case DOT11_KEY_TYPE_WEP40:            keyLen = DOT11_WEP40_KEY_SIZE;            break;        case DOT11_KEY_TYPE_WEP104:            keyLen = DOT11_WEP104_KEY_SIZE;            break;        case DOT11_KEY_TYPE_TKIP:            keyLen = DOT11_TKIP_KEY_SIZE;            break;        case DOT11_KEY_TYPE_AES:            keyLen = DOT11_AES_KEY_SIZE;            break;        default:            return ERROR;        }    bzero((char *)&key, sizeof(key));    bcopy((char *)keyData, (char *)&key.type.wep40[0], keyLen);    key.keyType = keyType;    key.keySlot = keySlot;    return dot11TestIoctl(ifNum, WIOCSWEPKEY0 + keySlot, (caddr_t)&key);    }/****************************************************************************** dot11WepSkSet - turns WEP Shared Key on or off ** This routine is a duplicate for dot11AuthTypeSet() for legacy reasons.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A* * \NOMANUAL**/STATUS dot11WepSkSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int authType              /* Default authentication type */    )    {    return dot11TestIoctl(ifNum, WIOCSAUTHTYPE, (caddr_t)authType);    }/****************************************************************************** dot11TxPowerScaleSet - Sets the current TX scaling factor** This function calls WIOCSTXPOWERSCALE to set the transmit power scaling* value, which is the amount of the maximum tx power that will be used in all* transmissions.  <data> may take on the following values:*       DOT11_TXPOWER_MAX  0         Use the maximum TX power for the RD*       DOT11_TXPOWER_66   1         Use 66% of the max txPower*       DOT11_TXPOWER_50   2         Use 50% of the max txPower*       DOT11_TXPOWER_33   3         Use 33% of the max txPower*       DOT11_TXPOWER_MIN  4         Use 25% of the max txPower** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11TxPowerScaleSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    UINT32 scale              /* Tx power scaling factor */    )    {    return dot11TestIoctl(ifNum, WIOCSTXPOWERSCALE, (caddr_t)scale);    }/****************************************************************************** dot11RateSet - Sets the allowed rates for the station** This routine sets the allowed rates for the station, using the IOCTL* call WIOCSTXRATE. The allowed rates are used to determine which of the rates* supported by this device and that to which it is conected are used in actual* data transmission by this station.  <numRates> is the number of rates, * followed by all of the rates in IEEE format (units of 500 kb/s).  For* example, to set the card to allow only 1,2,5.5 and 6 Mpbs rates, the call* would look like:*  dot11RateSet(0, 4, 2, 4, 11, 12);** A set of zero length, ( dot11RateSet(0,0) ) will reset the allowed rate list* and allow the card to use any rate that is supported by both this station* and the cnnected station.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11RateSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int numRates,             /* Number of rates to follow */    ...                       /* the rate set, as varargs */    )    {    va_list rate_list;    DOT11_RATES rates;    int i;    va_start(rate_list, numRates);    rates.length = numRates;    for (i=0; i<numRates; i++)        {        rates.rates[i] = (UINT8)va_arg(rate_list, int);        }        return dot11TestIoctl(ifNum, WIOCSTXRATE, (caddr_t)&rates);    }/****************************************************************************** dot11CtsRtsSet - Sets the CTS/RTS threshold** This routine is a wrapper function that will call WIOCSCTSRTS.  * <rtsThreshold> is the packet size above which CTS/RTS is used to transmit* the packet.  In areas with a high number of stations and access points, this* can improve the reliability of transmission, at a cost of some bandwidth.  * Setting to the maximum value of 2347 bytes will disable this feature, and * setting to the minimum value of 0 will enable CTS/RTS for all sized packets.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11CtsRtsSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int rtsThreshold          /* The packet size above which CTS/RTS is used */    )    {    return dot11TestIoctl(ifNum, WIOCSCTSRTS, (caddr_t)rtsThreshold);    }/****************************************************************************** dot11FragThreshSet - Set Fragmentation threshold ** This routine is a wrapper function that will call WIOCSFRAGTHRESH.  * <rtsThreshold> is the packet size above which transmitted packets are * fragmneted. In areas with a high RF noise, this* can improve the reliability of transmission, at a cost of some bandwidth.  * Setting to the maximum value of 2346 bytes will disable this feature, and * setting to the minimum value of 256 will enable fragmentation for most* packets.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11FragThreshSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int fragThresh            /* Size of packet above which to fragment */    )    {    return dot11TestIoctl(ifNum, WIOCSFRAGTHRESH, (caddr_t)fragThresh);    }/****************************************************************************** dot11RadioModeSet - Sets the current radio mode** This routine sets the current used radio mode of the card.  Channels and * rates that do not belong to the radio modes set in this call will not be* used, even if allowed in the current regulatory domain.  <radioMode> may * contain any of the following OR'd together. 0 is not a valid parameter.*       DOT11_RADIO_11a    _BIT(0)   (chan 100 and higher, ofdm data rates)*       DOT11_RADIO_11b    _BIT(1)   (chan 1-14, cck data rates )*       DOT11_RADIO_11g    _BIT(2)   (chan 1-14, ofdm data rates)** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11RadioModeSet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int radioMode             /* Radio modes to allow */    )    {    return dot11TestIoctl(ifNum, WIOCSRADIOMODE, (caddr_t)radioMode);    }/****************************************************************************** dot11LongRetrySet - Sets the maximum number of long retries** This routine sets the maximum number of times "long" packets will be * retried if they fail transmission the first time.  "long" packets are * defined as those larger than the CTS/RTS threshold.  Some cards may not* differentiate between long and short packets,* in which case this and dot11ShortRetrySet() will set the same value.  Valid * values for <retry> are 0 .. 255.** RETURNS: the results of the IOCTL call, typically OK, ERROR, EINVAL** ERRNO: N/A*/STATUS dot11LongRetrySet    (    int ifNum,                /* Interface number, ie. the '0' in wls0 */    int retry                 /* Number of retries for short packets */    )    {    return dot11TestIoctl(ifNum, WIOCSLONGRETRY, (caddr_t)retry);    }/****************************************************************************** dot11ShortRetrySet - Sets the maximum number of short retries** This routine sets the maximum number of times "short" packets will be * retried if they fail transmission the first time.  "short" packets are * defined as those smaller than the CTS/RTS threshold.  Some cards may not* differentiate between long and short packets,* in which case this and dot11LongRetrySet() will set the same value.  Valid * values for <retry> are 0 .. 255.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二区黄| 日本欧洲一区二区| 视频在线在亚洲| 国产成人精品免费视频网站| 色久优优欧美色久优优| 亚洲精品一区二区三区精华液| 中文字幕视频一区| 久久aⅴ国产欧美74aaa| 色婷婷亚洲一区二区三区| 日韩美女视频一区二区在线观看| 国产精品不卡一区| 国产精品99久| 欧美一区二区三区影视| 一区二区三区高清| 成人激情免费网站| 久久久久久久久免费| 日韩成人免费在线| 欧美性大战久久久久久久蜜臀| 国产精品麻豆久久久| 国产精品白丝jk黑袜喷水| 欧美日韩黄色影视| 亚洲一二三四区| 91影视在线播放| 久久久亚洲午夜电影| 寂寞少妇一区二区三区| 在线成人免费观看| 视频在线在亚洲| 欧美精品乱码久久久久久按摩| 亚洲图片激情小说| 欧美视频你懂的| 中文字幕一区二区在线播放| 国产成人精品影视| 久久理论电影网| 国产麻豆日韩欧美久久| 久久综合视频网| 极品瑜伽女神91| 久久久久国产精品厨房| 国内精品伊人久久久久av影院| 欧美va亚洲va国产综合| 久久不见久久见免费视频1 | 亚洲成人中文在线| 欧美视频一区二区| 欧美96一区二区免费视频| 91麻豆精品国产综合久久久久久| 性做久久久久久久免费看| 欧美日韩成人综合在线一区二区| 日本中文在线一区| 欧美大片顶级少妇| 国产69精品一区二区亚洲孕妇| 国产午夜一区二区三区| 99久久亚洲一区二区三区青草| 亚洲日韩欧美一区二区在线| 在线视频综合导航| 日本强好片久久久久久aaa| 日韩一级精品视频在线观看| 看片网站欧美日韩| 欧美激情一区二区三区四区| 色综合色狠狠天天综合色| 亚洲成人免费影院| 欧美mv和日韩mv的网站| av亚洲产国偷v产偷v自拍| 一区二区三区高清在线| 日韩欧美综合在线| 99视频热这里只有精品免费| 亚洲一区二区三区四区中文字幕| 日韩一区二区免费电影| 成人理论电影网| 午夜精品久久久久久久久久| 久久网这里都是精品| 欧美亚洲动漫另类| 国产一区二区三区精品欧美日韩一区二区三区 | 91亚洲大成网污www| 无码av中文一区二区三区桃花岛| 久久亚洲精品小早川怜子| 色偷偷久久一区二区三区| 男女性色大片免费观看一区二区| 欧美国产日韩在线观看| 欧美日韩在线三级| 国产suv精品一区二区三区| 亚洲高清免费在线| 国产精品私人自拍| 欧美videos中文字幕| 色综合天天综合色综合av| 另类小说图片综合网| 一区二区三区 在线观看视频| 精品国产一二三区| 欧美精品在线一区二区三区| 国产成人综合网| 免费观看在线综合色| 亚洲欧美欧美一区二区三区| 久久无码av三级| 欧美一级黄色片| 欧美综合亚洲图片综合区| 国产精品 日产精品 欧美精品| 亚洲成人动漫在线免费观看| 中文字幕亚洲欧美在线不卡| 久久亚洲影视婷婷| 日韩欧美亚洲一区二区| 欧美日韩一卡二卡三卡| 91免费版在线看| 成人高清伦理免费影院在线观看| 久久精工是国产品牌吗| 日本成人在线不卡视频| 亚洲国产精品麻豆| 亚洲黄色录像片| 一区精品在线播放| 中文字幕一区日韩精品欧美| 精品国产一区二区三区av性色 | 亚洲欧美日韩一区二区| 国产精品毛片久久久久久 | 欧美日韩视频第一区| 97aⅴ精品视频一二三区| 国产精品一区二区x88av| 久久国产福利国产秒拍| 日本成人在线网站| 免费视频一区二区| 黄页视频在线91| 精品亚洲国产成人av制服丝袜| 免费看精品久久片| 久久69国产一区二区蜜臀| 麻豆视频一区二区| 老司机精品视频导航| 国产美女一区二区| 捆绑变态av一区二区三区| 久久国产视频网| 94色蜜桃网一区二区三区| 国内精品久久久久影院薰衣草 | 国产亚洲精品精华液| www日韩大片| 国产欧美一区二区精品久导航 | 老司机午夜精品| 国内精品视频666| 成人午夜看片网址| 91色porny在线视频| 欧美三级电影在线看| 欧美理论片在线| 精品成人一区二区三区| 国产精品视频九色porn| 亚洲欧洲av在线| 偷拍日韩校园综合在线| 紧缚捆绑精品一区二区| 成人app软件下载大全免费| 欧美在线你懂得| 欧美精品一区二区三区高清aⅴ | 欧美国产日韩一二三区| 中文字幕电影一区| 依依成人综合视频| 久99久精品视频免费观看| 成人免费视频app| 在线观看欧美黄色| 精品少妇一区二区三区日产乱码| 中文字幕免费观看一区| 亚洲国产一区二区a毛片| 美腿丝袜在线亚洲一区 | 欧美在线999| 欧美精品一区二区久久婷婷| 亚洲视频在线观看一区| 免费人成在线不卡| 99精品视频在线免费观看| 欧美视频一区二| 久久久久久久久久久黄色| 亚洲午夜一区二区| 粉嫩蜜臀av国产精品网站| 欧美猛男gaygay网站| 中文字幕av不卡| 另类小说欧美激情| 91黄视频在线| 国产人妖乱国产精品人妖| 婷婷开心激情综合| 91麻豆蜜桃一区二区三区| 精品美女被调教视频大全网站| 亚洲一区视频在线| 丁香六月综合激情| 日韩久久久精品| 天天色天天爱天天射综合| 91视频观看视频| 中文字幕不卡在线观看| 美腿丝袜亚洲一区| 欧美肥妇bbw| 亚洲精品自拍动漫在线| 成人午夜大片免费观看| 日韩欧美成人午夜| 香蕉影视欧美成人| 91传媒视频在线播放| 国产精品成人一区二区艾草| 国产高清精品网站| 欧美tickle裸体挠脚心vk| 日韩va亚洲va欧美va久久| 日本道免费精品一区二区三区| 国产精品免费免费| 国产91丝袜在线播放九色| 337p粉嫩大胆色噜噜噜噜亚洲| 日韩电影在线免费看| 在线观看网站黄不卡| 一区二区在线观看免费视频播放| 91丝袜美腿高跟国产极品老师 | 欧美一区二区三区视频免费| 亚洲成av人综合在线观看| 欧美天天综合网| 午夜精品视频一区|