Searched refs:macPrefix (Results 1 – 2 of 2) sorted by relevance
/device/generic/goldfish/wifi/mac80211_create_radios/ |
D | main.cpp | 205 const int nRadios, const int macPrefix, in createRadios() argument 209 mac[1] = (macPrefix >> CHAR_BIT) & 0xFF; in createRadios() 210 mac[2] = macPrefix & 0xFF; in createRadios() 228 int manageRadios(const int nRadios, const int macPrefix, in manageRadios() argument 240 ret = createRadios(socket.get(), netlinkFamily, nRadios, macPrefix, in manageRadios() 278 int macPrefix; in main() local 279 if (!parseInt(argv[argIndex], &macPrefix)) { return printUsage(stderr, 1); } in main() 280 if (macPrefix < 0) { return printUsage(stderr, 1); } in main() 281 if (macPrefix > UINT16_MAX) { return printUsage(stderr, 1); } in main() 283 return manageRadios(nRadios, macPrefix, enablePmsr); in main()
|
/device/google/cuttlefish/guest/commands/setup_wifi/ |
D | main.cpp | 41 int macPrefix = stoi(mac_prefix); in prefix_to_mac() local 43 mac[1] = (macPrefix >> CHAR_BIT) & 0xFF; in prefix_to_mac() 44 mac[2] = macPrefix & 0xFF; in prefix_to_mac()
|