MOXA linux-2.6.x / linux-2.6.9-uc0 from sdlinux-moxaart.tgz
[linux-2.6.9-moxart.git] / drivers / usb / net / Zydas / zdshared.h
blob835c1ac43298f991fee9398af1d4039c12d0780b
1 #ifndef _ZDSHARED_H_
2 #define _ZDSHARED_H_
4 void mkFragment(Signal_t *signal, FrmDesc_t *pfrmDesc, U8 *pEthHdr);
5 BOOLEAN sendMgtFrame(Signal_t *signal, FrmDesc_t *pfrmDesc);
6 BOOLEAN getElem(Frame_t *frame, ElementID eID, Element *eElem, U8 eleOrder);
9 void mkAuthFrm(FrmDesc_t* pfrmDesc, MacAddr_t *addr1, U16 Alg, U16 Seq,
10 U16 Status, U8 *pChalng, U8 vapId);
11 void mkRe_AsocRspFrm(FrmDesc_t* pfrmDesc, TypeSubtype subType, MacAddr_t *addr1,
12 U16 Cap, U16 Status, U16 Aid, Element *pSupRates, Element *pExtRates, U8 vapId);
13 void mkProbeReqFrm(FrmDesc_t* pfrmDesc, MacAddr_t *addr1, Element *pSsid, Element *pSupRates,
14 Element *pExtRates, Element *pWpa, U8 vapId);
15 void mkDisAssoc_DeAuthFrm(FrmDesc_t* pfrmDesc, TypeSubtype subType, MacAddr_t *addr1,
16 U16 Reason, U8 vapId);
17 void mkRe_AsocReqFrm(FrmDesc_t* pfrmDesc, TypeSubtype subType, MacAddr_t *addr1,
18 U16 Cap, U16 LisInterval, MacAddr_t *oldAP, Element *pSsid, Element *pSupRates,
19 Element *pExtRates, Element *pWpa, U8 vapId);
20 void sendProbeRspFrm(MacAddr_t *addr1, U16 BcnInterval, U16 Cap,
21 Element *pSsid, Element *pSupRates, Element *pDsParms,
22 Element *pExtRates, Element *pWpa, U8 vapId);
23 BOOLEAN sendPsPollFrame(Signal_t *signal, FrmDesc_t *pfrmDesc, MacAddr_t *addr1, U16 aid);
24 BOOLEAN sendNullDataFrame(Signal_t *signal, FrmDesc_t *pfrmDesc, MacAddr_t *addr1);
25 U8 RateConvert(U8 rate);
26 void mkProbeRspFrm(FrmDesc_t* pfrmDesc, MacAddr_t *addr1, U16 BcnInterval,
27 U16 Cap, Element *pSsid, Element *pSupRates, Element *pDsParms,
28 Element *pExtRates, Element *pWpa, U8 vapId);
29 #endif