Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
tlvf: beerocks_message::sPlatformSettings remove unused settings
Browse files Browse the repository at this point in the history
Remove of unused fields from sPlatformSettings struct.
Those fields have been moved to the Agent_DB and there for no longer
needed as part of a beerocks massage.

PPM-338

Signed-off-by: Oren Vormaser <[email protected]>
  • Loading branch information
orenvor committed Aug 10, 2020
1 parent 644d6fe commit a6aef83
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,20 +72,7 @@ typedef struct sSonConfig {
} __attribute__((packed)) sSonConfig;

typedef struct sPlatformSettings {
char front_ssid[beerocks::message::WIFI_SSID_MAX_LENGTH];
char front_pass[beerocks::message::WIFI_PASS_MAX_LENGTH];
char front_security_type[beerocks::message::WIFI_SECURITY_TYPE_MAX_LENGTH];
char back_ssid[beerocks::message::WIFI_SSID_MAX_LENGTH];
char back_pass[beerocks::message::WIFI_PASS_MAX_LENGTH];
char back_security_type[beerocks::message::WIFI_SECURITY_TYPE_MAX_LENGTH];
uint8_t onboarding;
uint8_t local_master;
uint8_t local_gw;
uint8_t operating_mode;
uint8_t management_mode;
uint8_t mem_only_psk;
uint8_t certification_mode;
uint8_t stop_on_failure_attempts;
uint8_t client_band_steering_enabled;
uint8_t client_optimal_path_roaming_enabled;
uint8_t dfs_reentry_enabled;
Expand All @@ -94,9 +81,6 @@ typedef struct sPlatformSettings {
uint8_t load_balancing_enabled;
uint8_t service_fairness_enabled;
uint8_t rdkb_extensions_enabled;
uint8_t backhaul_max_vaps;
uint8_t backhaul_network_enabled;
uint8_t backhaul_preferred_radio_band;
void struct_swap(){
}
void struct_init(){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,33 +50,7 @@ sSonConfig:

sPlatformSettings:
_type: struct
front_ssid:
_type: char
_length: ["beerocks::message::WIFI_SSID_MAX_LENGTH"]
front_pass:
_type: char
_length: ["beerocks::message::WIFI_PASS_MAX_LENGTH"]
front_security_type:
_type: char
_length: ["beerocks::message::WIFI_SECURITY_TYPE_MAX_LENGTH"]
back_ssid:
_type: char
_length: ["beerocks::message::WIFI_SSID_MAX_LENGTH"]
back_pass:
_type: char
_length: ["beerocks::message::WIFI_PASS_MAX_LENGTH"]
back_security_type:
_type: char
_length: ["beerocks::message::WIFI_SECURITY_TYPE_MAX_LENGTH"]
onboarding: uint8_t
local_master: uint8_t
local_gw: uint8_t
operating_mode: uint8_t
management_mode: uint8_t
mem_only_psk: uint8_t

certification_mode: uint8_t
stop_on_failure_attempts: uint8_t

client_band_steering_enabled: uint8_t
client_optimal_path_roaming_enabled: uint8_t
Expand All @@ -89,10 +63,6 @@ sPlatformSettings:

rdkb_extensions_enabled: uint8_t

backhaul_max_vaps: uint8_t
backhaul_network_enabled: uint8_t
backhaul_preferred_radio_band: uint8_t

sWlanSettings:
_type: struct
band_enabled:
Expand Down

0 comments on commit a6aef83

Please sign in to comment.