Skip to content
Snippets Groups Projects
Commit 263054ef authored by Anjan Chanda's avatar Anjan Chanda
Browse files

pass opclass instead of band in struct steer_sta_current_bss

parent 6eb1accc
No related branches found
No related tags found
No related merge requests found
......@@ -805,7 +805,7 @@ void cntlr_inform_steer_modules(struct controller *c, struct sta *s)
trace("%s:--->\n", __func__);
memcpy(candidate.bss.bssid, s->bssid, 6);
candidate.bss.band = s->fh->band;
candidate.bss.opclass = s->fh->radio->radio_el->cur_opclass.opclass[0].id; //FIXME
r = find_radio_by_bssid(c, s->bssid);
if (r) {
......
......@@ -61,7 +61,7 @@ typedef enum steer_mode steer_mode_t;
/* Represent a fBSS neighbor in the network */
struct steer_sta_target_bss {
uint8_t bssid[6];
uint8_t opclass; /* current operating opclass */
uint8_t opclass; /* operating opclass */
uint8_t channel; /* beacon channel (20MHz) */
uint8_t agent[6]; /* agent AL-macaddress this bss belongs to */
struct list_head list;
......@@ -70,12 +70,11 @@ struct steer_sta_target_bss {
/* Represents current BSS to which the STA is connected */
struct steer_sta_current_bss {
uint8_t bssid[6];
/* agent AL-macaddress to which STA is connected */
uint8_t agent[6];
uint8_t opclass; /* operating opclass */
uint8_t channel; /* beacon channel (20MHz) */
uint8_t agent[6]; /* agent AL-macaddress this bss belongs to */
/* following are filled-in from radio-policy of the agent node */
uint8_t band; /* 2, 5 or 6 */
uint8_t rcpi_threshold;
uint8_t report_rcpi_threshold;
uint8_t report_rcpi_hysteresis_margin;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment