3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-26 02:19:26 +01:00

ie: expose vendor OUIs

In the same fashion as the WSC WFA OUI, ie.[ch] will now expose the
other vendor OUIs to avoid duplication across multiple files in IWD
as well as used in iwmon.
This commit is contained in:
James Prestwood 2019-07-15 11:33:12 -07:00 committed by Denis Kenzior
parent 213d75b9bb
commit 090ac03100
3 changed files with 7 additions and 5 deletions

View File

@ -52,8 +52,6 @@ struct anqp_request {
static struct l_genl_family *nl80211 = NULL;
static const uint8_t wifi_alliance_oui[3] = { 0x50, 0x6f, 0x9a };
static struct l_queue *anqp_requests;
static uint8_t anqp_token = 0;

View File

@ -32,9 +32,9 @@
#include "src/crypto.h"
#include "src/ie.h"
static const uint8_t ieee_oui[3] = { 0x00, 0x0f, 0xac };
static const uint8_t microsoft_oui[3] = { 0x00, 0x50, 0xf2 };
static const uint8_t wifi_alliance_oui[3] = { 0x50, 0x6f, 0x9a };
const unsigned char ieee_oui[3] = { 0x00, 0x0f, 0xac };
const unsigned char microsoft_oui[3] = { 0x00, 0x50, 0xf2 };
const unsigned char wifi_alliance_oui[3] = { 0x50, 0x6f, 0x9a };
void ie_tlv_iter_init(struct ie_tlv_iter *iter, const unsigned char *tlv,
unsigned int len)

View File

@ -395,6 +395,10 @@ struct ie_neighbor_report_info {
bool bss_transition_pref_present : 1;
};
extern const unsigned char ieee_oui[3];
extern const unsigned char microsoft_oui[3];
extern const unsigned char wifi_alliance_oui[3];
void ie_tlv_iter_init(struct ie_tlv_iter *iter, const unsigned char *tlv,
unsigned int len);
void ie_tlv_iter_recurse(struct ie_tlv_iter *iter,