mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-25 17:59:25 +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:
parent
213d75b9bb
commit
090ac03100
@ -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;
|
||||
|
||||
|
6
src/ie.c
6
src/ie.c
@ -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)
|
||||
|
4
src/ie.h
4
src/ie.h
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user