Skip to content

Conversation

@Aniket0606
Copy link
Contributor

…i CSI data.

Reason for change: Implemented logic to trigger a CSI Netlink (NL) command to pull
data when a CSI callback is registered and CSI is enabled for any client.

Test Procedure: 1) Load the OneWifi image onto the BPI platform. 2) Enable the CSI feature.
3) Connect a client device.
4) Start CSI data collection for the connected client and verify that
the data is received in the registered callback.

Priority: P1
Risks: Low

Signed-off-by: [email protected]

…i CSI data.

Reason for change: Implemented logic to trigger a CSI Netlink (NL) command to pull
                   data when a CSI callback is registered and CSI is enabled for any client.

Test Procedure: 1) Load the OneWifi image onto the BPI platform.
2) Enable the CSI feature.
3) Connect a client device.
4) Start CSI data collection for the connected client and verify that
   the data is received in the registered callback.

Priority: P1
Risks: Low

Signed-off-by: [email protected]
@CLAassistant
Copy link

CLAassistant commented Aug 5, 2025

CLA assistant check
All committers have signed the CLA.

return RETURN_OK;
}

void *pick_link_elem_info(link_element_t *head, void *data, uint32_t data_len)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the intent of this function as it is comparing the data with head->data and if both are same, it is returning the data back

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I did not see the usage of this function.


if (cur->data && (memcmp(cur->data, data, data_len) == 0)) {
free(cur->data);
*head = cur->next;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

free(cur) should also be done.

}
}

return RETURN_ERR;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be return_OK right?

__func__, __LINE__, radio_index);
for (uint32_t i = 0; i < ETH_ALEN; i++) {
wifi_hal_info_print("%x\n", mac[i]);
nla_put_u8(msg, i, mac[i]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Each Mac byte is to be added one by one is it?

} else {
for (i = 0; i < len; i++) {
fprintf(fpg, " %02x", buf[i]);
if ((i != 0) && (i % 16 == 0)) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need i != 0 check?

{ 2, 9, 0, 1, 1 },
{ 2, 9, 2, 100, 0 }
};
uint8_t *p_str_mac = NULL;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation from here onwards looks incorrect

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants