-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adds the bandwidth field to the Wi-Fi beacon record
- Loading branch information
1 parent
1e933d8
commit cd3bdbe
Showing
4 changed files
with
46 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/main/proto/com/craxiom/messaging/wifi/bandwidth/wifi_bandwidth.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Defines the Wi-Fi Bandwidth values used in the 802.11 Survey message. | ||
* | ||
* This protobuf definition is provided as a convenience only. See the official API documentation for the true field | ||
* schema. | ||
* | ||
* It is necessary to define this enum in an individual file so that duplicate enum values can be used. This file | ||
* specifies a different protobuf package than other enums so that the enum value scope is different than all other | ||
* enums. | ||
*/ | ||
syntax = "proto3"; | ||
|
||
package com.craxiom.messaging.wifi.bandwidth; | ||
|
||
option java_multiple_files = true; | ||
option java_package = "com.craxiom.messaging.wifi"; | ||
|
||
enum WifiBandwidth { | ||
UNKNOWN = 0; | ||
MHZ_20 = 1; | ||
MHZ_40 = 2; | ||
MHZ_80 = 3; | ||
MHZ_80_PLUS = 4; | ||
MHZ_160 = 5; | ||
MHZ_320 = 6; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters