staging:vt6655:80211mgr: Whitespace cleanups
Neatening only. git diff -w shows no differences. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d74e97699a
commit
ab4622cca5
2 changed files with 827 additions and 827 deletions
|
@ -67,7 +67,7 @@
|
||||||
|
|
||||||
/*--------------------- Static Variables --------------------------*/
|
/*--------------------- Static Variables --------------------------*/
|
||||||
|
|
||||||
static int msglevel =MSG_LEVEL_INFO;
|
static int msglevel = MSG_LEVEL_INFO;
|
||||||
//static int msglevel =MSG_LEVEL_DEBUG;
|
//static int msglevel =MSG_LEVEL_DEBUG;
|
||||||
/*--------------------- Static Functions --------------------------*/
|
/*--------------------- Static Functions --------------------------*/
|
||||||
|
|
||||||
|
@ -87,12 +87,12 @@ static int msglevel =MSG_LEVEL_INFO;
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeBeacon(
|
vMgrEncodeBeacon(
|
||||||
PWLAN_FR_BEACON pFrame
|
PWLAN_FR_BEACON pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -118,13 +118,13 @@ vMgrEncodeBeacon(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeBeacon(
|
vMgrDecodeBeacon(
|
||||||
PWLAN_FR_BEACON pFrame
|
PWLAN_FR_BEACON pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PWLAN_IE pItem;
|
PWLAN_IE pItem;
|
||||||
|
|
||||||
|
@ -141,7 +141,7 @@ vMgrDecodeBeacon(
|
||||||
// Information elements
|
// Information elements
|
||||||
pItem = (PWLAN_IE)((unsigned char *)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3)))
|
pItem = (PWLAN_IE)((unsigned char *)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3)))
|
||||||
+ WLAN_BEACON_OFF_SSID);
|
+ WLAN_BEACON_OFF_SSID);
|
||||||
while( ((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len) ){
|
while (((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len)) {
|
||||||
|
|
||||||
switch (pItem->byElementID) {
|
switch (pItem->byElementID) {
|
||||||
case WLAN_EID_SSID:
|
case WLAN_EID_SSID:
|
||||||
|
@ -239,13 +239,13 @@ vMgrDecodeBeacon(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeIBSSATIM(
|
vMgrEncodeIBSSATIM(
|
||||||
PWLAN_FR_IBSSATIM pFrame
|
PWLAN_FR_IBSSATIM pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
pFrame->len = WLAN_HDR_ADDR3_LEN;
|
pFrame->len = WLAN_HDR_ADDR3_LEN;
|
||||||
|
@ -263,12 +263,12 @@ vMgrEncodeIBSSATIM(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeIBSSATIM(
|
vMgrDecodeIBSSATIM(
|
||||||
PWLAN_FR_IBSSATIM pFrame
|
PWLAN_FR_IBSSATIM pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -285,12 +285,12 @@ vMgrDecodeIBSSATIM(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeDisassociation(
|
vMgrEncodeDisassociation(
|
||||||
PWLAN_FR_DISASSOC pFrame
|
PWLAN_FR_DISASSOC pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -313,12 +313,12 @@ vMgrEncodeDisassociation(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeDisassociation(
|
vMgrDecodeDisassociation(
|
||||||
PWLAN_FR_DISASSOC pFrame
|
PWLAN_FR_DISASSOC pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -338,13 +338,13 @@ vMgrDecodeDisassociation(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeAssocRequest(
|
vMgrEncodeAssocRequest(
|
||||||
PWLAN_FR_ASSOCREQ pFrame
|
PWLAN_FR_ASSOCREQ pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
// Fixed Fields
|
// Fixed Fields
|
||||||
|
@ -366,12 +366,12 @@ vMgrEncodeAssocRequest(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeAssocRequest(
|
vMgrDecodeAssocRequest(
|
||||||
PWLAN_FR_ASSOCREQ pFrame
|
PWLAN_FR_ASSOCREQ pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PWLAN_IE pItem;
|
PWLAN_IE pItem;
|
||||||
|
|
||||||
|
@ -387,7 +387,7 @@ vMgrDecodeAssocRequest(
|
||||||
+ WLAN_ASSOCREQ_OFF_SSID);
|
+ WLAN_ASSOCREQ_OFF_SSID);
|
||||||
|
|
||||||
while (((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len)) {
|
while (((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len)) {
|
||||||
switch (pItem->byElementID){
|
switch (pItem->byElementID) {
|
||||||
case WLAN_EID_SSID:
|
case WLAN_EID_SSID:
|
||||||
if (pFrame->pSSID == NULL)
|
if (pFrame->pSSID == NULL)
|
||||||
pFrame->pSSID = (PWLAN_IE_SSID)pItem;
|
pFrame->pSSID = (PWLAN_IE_SSID)pItem;
|
||||||
|
@ -432,12 +432,12 @@ vMgrDecodeAssocRequest(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeAssocResponse(
|
vMgrEncodeAssocResponse(
|
||||||
PWLAN_FR_ASSOCRESP pFrame
|
PWLAN_FR_ASSOCRESP pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -464,12 +464,12 @@ vMgrEncodeAssocResponse(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeAssocResponse(
|
vMgrDecodeAssocResponse(
|
||||||
PWLAN_FR_ASSOCRESP pFrame
|
PWLAN_FR_ASSOCRESP pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PWLAN_IE pItem;
|
PWLAN_IE pItem;
|
||||||
|
|
||||||
|
@ -511,12 +511,12 @@ vMgrDecodeAssocResponse(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeReassocRequest(
|
vMgrEncodeReassocRequest(
|
||||||
PWLAN_FR_REASSOCREQ pFrame
|
PWLAN_FR_REASSOCREQ pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -542,13 +542,13 @@ vMgrEncodeReassocRequest(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeReassocRequest(
|
vMgrDecodeReassocRequest(
|
||||||
PWLAN_FR_REASSOCREQ pFrame
|
PWLAN_FR_REASSOCREQ pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PWLAN_IE pItem;
|
PWLAN_IE pItem;
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
@ -565,9 +565,9 @@ vMgrDecodeReassocRequest(
|
||||||
pItem = (PWLAN_IE)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3))
|
pItem = (PWLAN_IE)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3))
|
||||||
+ WLAN_REASSOCREQ_OFF_SSID);
|
+ WLAN_REASSOCREQ_OFF_SSID);
|
||||||
|
|
||||||
while(((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len)) {
|
while (((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len)) {
|
||||||
|
|
||||||
switch (pItem->byElementID){
|
switch (pItem->byElementID) {
|
||||||
case WLAN_EID_SSID:
|
case WLAN_EID_SSID:
|
||||||
if (pFrame->pSSID == NULL)
|
if (pFrame->pSSID == NULL)
|
||||||
pFrame->pSSID = (PWLAN_IE_SSID)pItem;
|
pFrame->pSSID = (PWLAN_IE_SSID)pItem;
|
||||||
|
@ -614,13 +614,13 @@ vMgrDecodeReassocRequest(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeProbeRequest(
|
vMgrEncodeProbeRequest(
|
||||||
PWLAN_FR_PROBEREQ pFrame
|
PWLAN_FR_PROBEREQ pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
pFrame->len = WLAN_HDR_ADDR3_LEN;
|
pFrame->len = WLAN_HDR_ADDR3_LEN;
|
||||||
|
@ -636,12 +636,12 @@ vMgrEncodeProbeRequest(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeProbeRequest(
|
vMgrDecodeProbeRequest(
|
||||||
PWLAN_FR_PROBEREQ pFrame
|
PWLAN_FR_PROBEREQ pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PWLAN_IE pItem;
|
PWLAN_IE pItem;
|
||||||
|
|
||||||
|
@ -650,7 +650,7 @@ vMgrDecodeProbeRequest(
|
||||||
// Information elements
|
// Information elements
|
||||||
pItem = (PWLAN_IE)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3)));
|
pItem = (PWLAN_IE)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3)));
|
||||||
|
|
||||||
while( ((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len) ) {
|
while (((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len)) {
|
||||||
|
|
||||||
switch (pItem->byElementID) {
|
switch (pItem->byElementID) {
|
||||||
case WLAN_EID_SSID:
|
case WLAN_EID_SSID:
|
||||||
|
@ -688,13 +688,13 @@ vMgrDecodeProbeRequest(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeProbeResponse(
|
vMgrEncodeProbeResponse(
|
||||||
PWLAN_FR_PROBERESP pFrame
|
PWLAN_FR_PROBERESP pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -723,12 +723,12 @@ vMgrEncodeProbeResponse(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeProbeResponse(
|
vMgrDecodeProbeResponse(
|
||||||
PWLAN_FR_PROBERESP pFrame
|
PWLAN_FR_PROBERESP pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PWLAN_IE pItem;
|
PWLAN_IE pItem;
|
||||||
|
|
||||||
|
@ -747,7 +747,7 @@ vMgrDecodeProbeResponse(
|
||||||
pItem = (PWLAN_IE)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3))
|
pItem = (PWLAN_IE)(WLAN_HDR_A3_DATA_PTR(&(pFrame->pHdr->sA3))
|
||||||
+ WLAN_PROBERESP_OFF_SSID);
|
+ WLAN_PROBERESP_OFF_SSID);
|
||||||
|
|
||||||
while( ((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len) ) {
|
while (((unsigned char *)pItem) < (pFrame->pBuf + pFrame->len)) {
|
||||||
switch (pItem->byElementID) {
|
switch (pItem->byElementID) {
|
||||||
case WLAN_EID_SSID:
|
case WLAN_EID_SSID:
|
||||||
if (pFrame->pSSID == NULL)
|
if (pFrame->pSSID == NULL)
|
||||||
|
@ -837,12 +837,12 @@ vMgrDecodeProbeResponse(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeAuthen(
|
vMgrEncodeAuthen(
|
||||||
PWLAN_FR_AUTHEN pFrame
|
PWLAN_FR_AUTHEN pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -868,12 +868,12 @@ vMgrEncodeAuthen(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeAuthen(
|
vMgrDecodeAuthen(
|
||||||
PWLAN_FR_AUTHEN pFrame
|
PWLAN_FR_AUTHEN pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PWLAN_IE pItem;
|
PWLAN_IE pItem;
|
||||||
|
|
||||||
|
@ -908,12 +908,12 @@ vMgrDecodeAuthen(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeDeauthen(
|
vMgrEncodeDeauthen(
|
||||||
PWLAN_FR_DEAUTHEN pFrame
|
PWLAN_FR_DEAUTHEN pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -935,12 +935,12 @@ vMgrEncodeDeauthen(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeDeauthen(
|
vMgrDecodeDeauthen(
|
||||||
PWLAN_FR_DEAUTHEN pFrame
|
PWLAN_FR_DEAUTHEN pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -961,12 +961,12 @@ vMgrDecodeDeauthen(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeReassocResponse(
|
vMgrEncodeReassocResponse(
|
||||||
PWLAN_FR_REASSOCRESP pFrame
|
PWLAN_FR_REASSOCRESP pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
pFrame->pHdr = (PUWLAN_80211HDR)pFrame->pBuf;
|
||||||
|
|
||||||
|
@ -993,13 +993,13 @@ vMgrEncodeReassocResponse(
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* None.
|
* None.
|
||||||
*
|
*
|
||||||
-*/
|
-*/
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeReassocResponse(
|
vMgrDecodeReassocResponse(
|
||||||
PWLAN_FR_REASSOCRESP pFrame
|
PWLAN_FR_REASSOCRESP pFrame
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
PWLAN_IE pItem;
|
PWLAN_IE pItem;
|
||||||
|
|
||||||
|
|
|
@ -232,7 +232,7 @@
|
||||||
typedef struct tagWLAN_IE {
|
typedef struct tagWLAN_IE {
|
||||||
unsigned char byElementID;
|
unsigned char byElementID;
|
||||||
unsigned char len;
|
unsigned char len;
|
||||||
}__attribute__ ((__packed__))
|
} __attribute__ ((__packed__))
|
||||||
WLAN_IE, *PWLAN_IE;
|
WLAN_IE, *PWLAN_IE;
|
||||||
|
|
||||||
|
|
||||||
|
@ -242,7 +242,7 @@ typedef struct tagWLAN_IE_SSID {
|
||||||
unsigned char byElementID;
|
unsigned char byElementID;
|
||||||
unsigned char len;
|
unsigned char len;
|
||||||
unsigned char abySSID[1];
|
unsigned char abySSID[1];
|
||||||
}__attribute__ ((__packed__))
|
} __attribute__ ((__packed__))
|
||||||
WLAN_IE_SSID, *PWLAN_IE_SSID;
|
WLAN_IE_SSID, *PWLAN_IE_SSID;
|
||||||
|
|
||||||
|
|
||||||
|
@ -252,7 +252,7 @@ typedef struct tagWLAN_IE_SUPP_RATES {
|
||||||
unsigned char byElementID;
|
unsigned char byElementID;
|
||||||
unsigned char len;
|
unsigned char len;
|
||||||
unsigned char abyRates[1];
|
unsigned char abyRates[1];
|
||||||
}__attribute__ ((__packed__))
|
} __attribute__ ((__packed__))
|
||||||
WLAN_IE_SUPP_RATES, *PWLAN_IE_SUPP_RATES;
|
WLAN_IE_SUPP_RATES, *PWLAN_IE_SUPP_RATES;
|
||||||
|
|
||||||
|
|
||||||
|
@ -274,7 +274,7 @@ typedef struct tagWLAN_IE_DS_PARMS {
|
||||||
unsigned char byElementID;
|
unsigned char byElementID;
|
||||||
unsigned char len;
|
unsigned char len;
|
||||||
unsigned char byCurrChannel;
|
unsigned char byCurrChannel;
|
||||||
}__attribute__ ((__packed__))
|
} __attribute__ ((__packed__))
|
||||||
WLAN_IE_DS_PARMS, *PWLAN_IE_DS_PARMS;
|
WLAN_IE_DS_PARMS, *PWLAN_IE_DS_PARMS;
|
||||||
|
|
||||||
|
|
||||||
|
@ -287,7 +287,7 @@ typedef struct tagWLAN_IE_CF_PARMS {
|
||||||
unsigned char byCFPPeriod;
|
unsigned char byCFPPeriod;
|
||||||
unsigned short wCFPMaxDuration;
|
unsigned short wCFPMaxDuration;
|
||||||
unsigned short wCFPDurRemaining;
|
unsigned short wCFPDurRemaining;
|
||||||
}__attribute__ ((__packed__))
|
} __attribute__ ((__packed__))
|
||||||
WLAN_IE_CF_PARMS, *PWLAN_IE_CF_PARMS;
|
WLAN_IE_CF_PARMS, *PWLAN_IE_CF_PARMS;
|
||||||
|
|
||||||
|
|
||||||
|
@ -300,7 +300,7 @@ typedef struct tagWLAN_IE_TIM {
|
||||||
unsigned char byDTIMPeriod;
|
unsigned char byDTIMPeriod;
|
||||||
unsigned char byBitMapCtl;
|
unsigned char byBitMapCtl;
|
||||||
unsigned char byVirtBitMap[1];
|
unsigned char byVirtBitMap[1];
|
||||||
}__attribute__ ((__packed__))
|
} __attribute__ ((__packed__))
|
||||||
WLAN_IE_TIM, *PWLAN_IE_TIM;
|
WLAN_IE_TIM, *PWLAN_IE_TIM;
|
||||||
|
|
||||||
|
|
||||||
|
@ -310,7 +310,7 @@ typedef struct tagWLAN_IE_IBSS_PARMS {
|
||||||
unsigned char byElementID;
|
unsigned char byElementID;
|
||||||
unsigned char len;
|
unsigned char len;
|
||||||
unsigned short wATIMWindow;
|
unsigned short wATIMWindow;
|
||||||
}__attribute__ ((__packed__))
|
} __attribute__ ((__packed__))
|
||||||
WLAN_IE_IBSS_PARMS, *PWLAN_IE_IBSS_PARMS;
|
WLAN_IE_IBSS_PARMS, *PWLAN_IE_IBSS_PARMS;
|
||||||
|
|
||||||
|
|
||||||
|
@ -320,7 +320,7 @@ typedef struct tagWLAN_IE_CHALLENGE {
|
||||||
unsigned char byElementID;
|
unsigned char byElementID;
|
||||||
unsigned char len;
|
unsigned char len;
|
||||||
unsigned char abyChallenge[1];
|
unsigned char abyChallenge[1];
|
||||||
}__attribute__ ((__packed__))
|
} __attribute__ ((__packed__))
|
||||||
WLAN_IE_CHALLENGE, *PWLAN_IE_CHALLENGE;
|
WLAN_IE_CHALLENGE, *PWLAN_IE_CHALLENGE;
|
||||||
|
|
||||||
|
|
||||||
|
@ -362,7 +362,7 @@ typedef struct tagWLAN_IE_ERP {
|
||||||
unsigned char byElementID;
|
unsigned char byElementID;
|
||||||
unsigned char len;
|
unsigned char len;
|
||||||
unsigned char byContext;
|
unsigned char byContext;
|
||||||
}__attribute__ ((__packed__))
|
} __attribute__ ((__packed__))
|
||||||
WLAN_IE_ERP, *PWLAN_IE_ERP;
|
WLAN_IE_ERP, *PWLAN_IE_ERP;
|
||||||
|
|
||||||
|
|
||||||
|
@ -717,111 +717,111 @@ typedef struct tagWLAN_FR_DEAUTHEN {
|
||||||
void
|
void
|
||||||
vMgrEncodeBeacon(
|
vMgrEncodeBeacon(
|
||||||
PWLAN_FR_BEACON pFrame
|
PWLAN_FR_BEACON pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeBeacon(
|
vMgrDecodeBeacon(
|
||||||
PWLAN_FR_BEACON pFrame
|
PWLAN_FR_BEACON pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeIBSSATIM(
|
vMgrEncodeIBSSATIM(
|
||||||
PWLAN_FR_IBSSATIM pFrame
|
PWLAN_FR_IBSSATIM pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeIBSSATIM(
|
vMgrDecodeIBSSATIM(
|
||||||
PWLAN_FR_IBSSATIM pFrame
|
PWLAN_FR_IBSSATIM pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeDisassociation(
|
vMgrEncodeDisassociation(
|
||||||
PWLAN_FR_DISASSOC pFrame
|
PWLAN_FR_DISASSOC pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeDisassociation(
|
vMgrDecodeDisassociation(
|
||||||
PWLAN_FR_DISASSOC pFrame
|
PWLAN_FR_DISASSOC pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeAssocRequest(
|
vMgrEncodeAssocRequest(
|
||||||
PWLAN_FR_ASSOCREQ pFrame
|
PWLAN_FR_ASSOCREQ pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeAssocRequest(
|
vMgrDecodeAssocRequest(
|
||||||
PWLAN_FR_ASSOCREQ pFrame
|
PWLAN_FR_ASSOCREQ pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeAssocResponse(
|
vMgrEncodeAssocResponse(
|
||||||
PWLAN_FR_ASSOCRESP pFrame
|
PWLAN_FR_ASSOCRESP pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeAssocResponse(
|
vMgrDecodeAssocResponse(
|
||||||
PWLAN_FR_ASSOCRESP pFrame
|
PWLAN_FR_ASSOCRESP pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeReassocRequest(
|
vMgrEncodeReassocRequest(
|
||||||
PWLAN_FR_REASSOCREQ pFrame
|
PWLAN_FR_REASSOCREQ pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeReassocRequest(
|
vMgrDecodeReassocRequest(
|
||||||
PWLAN_FR_REASSOCREQ pFrame
|
PWLAN_FR_REASSOCREQ pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeProbeRequest(
|
vMgrEncodeProbeRequest(
|
||||||
PWLAN_FR_PROBEREQ pFrame
|
PWLAN_FR_PROBEREQ pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeProbeRequest(
|
vMgrDecodeProbeRequest(
|
||||||
PWLAN_FR_PROBEREQ pFrame
|
PWLAN_FR_PROBEREQ pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeProbeResponse(
|
vMgrEncodeProbeResponse(
|
||||||
PWLAN_FR_PROBERESP pFrame
|
PWLAN_FR_PROBERESP pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeProbeResponse(
|
vMgrDecodeProbeResponse(
|
||||||
PWLAN_FR_PROBERESP pFrame
|
PWLAN_FR_PROBERESP pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeAuthen(
|
vMgrEncodeAuthen(
|
||||||
PWLAN_FR_AUTHEN pFrame
|
PWLAN_FR_AUTHEN pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeAuthen(
|
vMgrDecodeAuthen(
|
||||||
PWLAN_FR_AUTHEN pFrame
|
PWLAN_FR_AUTHEN pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeDeauthen(
|
vMgrEncodeDeauthen(
|
||||||
PWLAN_FR_DEAUTHEN pFrame
|
PWLAN_FR_DEAUTHEN pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeDeauthen(
|
vMgrDecodeDeauthen(
|
||||||
PWLAN_FR_DEAUTHEN pFrame
|
PWLAN_FR_DEAUTHEN pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrEncodeReassocResponse(
|
vMgrEncodeReassocResponse(
|
||||||
PWLAN_FR_REASSOCRESP pFrame
|
PWLAN_FR_REASSOCRESP pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
void
|
void
|
||||||
vMgrDecodeReassocResponse(
|
vMgrDecodeReassocResponse(
|
||||||
PWLAN_FR_REASSOCRESP pFrame
|
PWLAN_FR_REASSOCRESP pFrame
|
||||||
);
|
);
|
||||||
|
|
||||||
#endif// __80211MGR_H__
|
#endif// __80211MGR_H__
|
||||||
|
|
Loading…
Add table
Reference in a new issue