Home | History | Annotate | Download | only in pci

Lines Matching refs:wme

958  * WME parameters coming from IEEE 802.11e specification.  These values are
982 struct iwi_wme_params wme[3];
987 * We shall not override firmware default WME values if WME is not
994 /* set WME values for current operating mode */
996 wme[0].aifsn[ac] = wmep->wmep_aifsn;
997 wme[0].cwmin[ac] = IWI_EXP2(wmep->wmep_logcwmin);
998 wme[0].cwmax[ac] = IWI_EXP2(wmep->wmep_logcwmax);
999 wme[0].burst[ac] = IWI_USEC(wmep->wmep_txopLimit);
1000 wme[0].acm[ac] = wmep->wmep_acm;
1002 /* set WME values for CCK modulation */
1004 wme[1].aifsn[ac] = wmep->wmep_aifsn;
1005 wme[1].cwmin[ac] = IWI_EXP2(wmep->wmep_logcwmin);
1006 wme[1].cwmax[ac] = IWI_EXP2(wmep->wmep_logcwmax);
1007 wme[1].burst[ac] = IWI_USEC(wmep->wmep_txopLimit);
1008 wme[1].acm[ac] = wmep->wmep_acm;
1010 /* set WME values for OFDM modulation */
1012 wme[2].aifsn[ac] = wmep->wmep_aifsn;
1013 wme[2].cwmin[ac] = IWI_EXP2(wmep->wmep_logcwmin);
1014 wme[2].cwmax[ac] = IWI_EXP2(wmep->wmep_logcwmax);
1015 wme[2].burst[ac] = IWI_USEC(wmep->wmep_txopLimit);
1016 wme[2].acm[ac] = wmep->wmep_acm;
1019 DPRINTF(("Setting WME parameters\n"));
1020 return iwi_cmd(sc, IWI_CMD_SET_WME_PARAMS, wme, sizeof wme, 1);
2573 struct ieee80211_wme_info wme;
2627 wme.wme_id = IEEE80211_ELEMID_VENDOR;
2628 wme.wme_len = sizeof (struct ieee80211_wme_info) - 2;
2629 wme.wme_oui[0] = 0x00;
2630 wme.wme_oui[1] = 0x50;
2631 wme.wme_oui[2] = 0xf2;
2632 wme.wme_type = WME_OUI_TYPE;
2633 wme.wme_subtype = WME_INFO_OUI_SUBTYPE;
2634 wme.wme_version = WME_VERSION;
2635 wme.wme_info = 0;
2637 DPRINTF(("Setting WME IE (len=%u)\n", wme.wme_len));
2638 error = iwi_cmd(sc, IWI_CMD_SET_WMEIE, &wme, sizeof wme, 1);