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