• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/rt2860/common/

Lines Matching refs:Elem

42 static void ReservedAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem);
101 void MlmeADDBAAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
112 pInfo = (struct rt_mlme_addba_req *)Elem->Msg;
115 if (MlmeAddBAReqSanity(pAd, Elem->Msg, Elem->MsgLen, Addr)) {
185 Elem - MLME message struct rt_mlme_delba_req
191 void MlmeDELBAAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
202 pInfo = (struct rt_mlme_delba_req *)Elem->Msg;
208 if (MlmeDelBAReqSanity(pAd, Elem->Msg, Elem->MsgLen)) {
281 void MlmeQOSAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
285 void MlmeDLSAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
289 void MlmeInvalidAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
295 void PeerQOSAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
299 void PeerBAAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
301 u8 Action = Elem->Msg[LENGTH_802_11 + 1];
305 PeerAddBAReqAction(pAd, Elem);
308 PeerAddBARspAction(pAd, Elem);
311 PeerDelBAAction(pAd, Elem);
316 void PeerPublicAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
318 if (Elem->Wcid >= MAX_LEN_OF_MAC_TABLE)
322 static void ReservedAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
326 if (Elem->MsgLen <= LENGTH_802_11) {
330 Category = Elem->Msg[LENGTH_802_11];
333 hex_dump("Reserved Action Frame", &Elem->Msg[0], Elem->MsgLen);
336 void PeerRMAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
342 struct rt_mlme_queue_elem *Elem)
359 pFrame = (struct rt_frame_ht_info *) & Elem->Msg[0];
390 void PeerHTAction(struct rt_rtmp_adapter *pAd, struct rt_mlme_queue_elem *Elem)
392 u8 Action = Elem->Msg[LENGTH_802_11 + 1];
394 if (Elem->Wcid >= MAX_LEN_OF_MAC_TABLE)
408 Elem->Msg[LENGTH_802_11 + 2]));
412 if (Elem->Msg[LENGTH_802_11 + 2] == 0) /* 7.4.8.2. if value is 1, keep the same as supported channel bandwidth. */
413 pAd->MacTab.Content[Elem->Wcid].HTPhyMode.field.BW = 0;
419 if (((Elem->Msg[LENGTH_802_11 + 2] & 0x1) == 0)) {
420 pAd->MacTab.Content[Elem->Wcid].MmpsMode = MMPS_ENABLE;
421 } else if (((Elem->Msg[LENGTH_802_11 + 2] & 0x2) == 0)) {
422 pAd->MacTab.Content[Elem->Wcid].MmpsMode = MMPS_STATIC;
424 pAd->MacTab.Content[Elem->Wcid].MmpsMode = MMPS_DYNAMIC;
428 ("Aid(%d) MIMO PS = %d\n", Elem->Wcid,
429 pAd->MacTab.Content[Elem->Wcid].MmpsMode));
442 (struct rt_ht_information_octet *) & Elem->Msg[LENGTH_802_11 +
449 Elem);