Home | History | Annotate | Download | only in wifi

Lines Matching refs:wps

136                      vector<uint8_t>* wps) {
137 wps->push_back(type >> 8); // type MSByte
138 wps->push_back(type); // type LSByte
140 wps->push_back((value.size() >> 8) & 0xff); // length MSByte
141 wps->push_back(value.size() & 0xff); // length LSByte
142 wps->insert(wps->end(), value.begin(), value.end());
476 HasSubstr("WPS element extends past containing PDU")))
479 vector<uint8_t> wps;
480 AddWPSElement(IEEE_80211::kWPSElementManufacturer, "foo", &wps);
481 wps.resize(wps.size() - 1); // Cause an underrun in the data.
483 IEEE_80211::kOUIMicrosoftWPS, wps, &ies);
492 vector<uint8_t> wps;
497 AddWPSElement(IEEE_80211::kWPSElementManufacturer, kManufacturer, &wps);
498 AddWPSElement(IEEE_80211::kWPSElementModelName, kModelName, &wps);
499 AddWPSElement(IEEE_80211::kWPSElementModelNumber, kModelNumber, &wps);
500 AddWPSElement(IEEE_80211::kWPSElementDeviceName, kDeviceName, &wps);
502 IEEE_80211::kOUIMicrosoftWPS, wps, &ies);
524 vector<uint8_t> wps;
527 AddWPSElement(IEEE_80211::kWPSElementManufacturer, kManufacturer, &wps);
528 wps.resize(wps.size() - 1); // Insert a non-ASCII character in the WPS.
529 wps.push_back(0x80);
530 AddWPSElement(IEEE_80211::kWPSElementModelName, kModelName, &wps);
532 IEEE_80211::kOUIMicrosoftWPS, wps, &ies);