diff --git a/src/common/qca-vendor.h b/src/common/qca-vendor.h index 778c217fb..557b52562 100644 --- a/src/common/qca-vendor.h +++ b/src/common/qca-vendor.h @@ -1189,7 +1189,9 @@ enum qca_wlan_vendor_attr_p2p_listen_offload { * * @QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG0_CENTER_CHANNEL: Required (u8). * Used with event to notify the VHT segment 0 center channel number selected in - * ACS operation. + * ACS operation. The value is the index of the channel center frequency for + * 20 MHz, 40 MHz, and 80 MHz channels. The value is the center frequency index + * of the primary 80 MHz segment for 160 MHz and 80+80 MHz channels. * Note: If both the driver and user-space application supports the 6 GHz band, * QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG0_CENTER_CHANNEL is deprecated; use * QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG0_CENTER_FREQUENCY instead. @@ -1199,7 +1201,10 @@ enum qca_wlan_vendor_attr_p2p_listen_offload { * * @QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG1_CENTER_CHANNEL: Required (u8). * Used with event to notify the VHT segment 1 center channel number selected in - * ACS operation. + * ACS operation. The value is zero for 20 MHz, 40 MHz, and 80 MHz channels. + * The value is the index of the channel center frequency for 160 MHz channels + * and the center frequency index of the secondary 80 MHz segment for 80+80 MHz + * channels. * Note: If both the driver and user-space application supports the 6 GHz band, * QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG1_CENTER_CHANNEL is deprecated; use * QCA_WLAN_VENDOR_ATTR_ACS_VHT_SEG1_CENTER_FREQUENCY instead. diff --git a/src/drivers/driver.h b/src/drivers/driver.h index c37dd2fc9..9bdf88011 100644 --- a/src/drivers/driver.h +++ b/src/drivers/driver.h @@ -5707,7 +5707,15 @@ union wpa_event_data { * @pri_freq: Selected primary frequency * @sec_freq: Selected secondary frequency * @vht_seg0_center_ch: VHT mode Segment0 center channel + * The value is the index of the channel center frequency for + * 20 MHz, 40 MHz, and 80 MHz channels. The value is the center + * frequency index of the primary 80 MHz segment for 160 MHz and + * 80+80 MHz channels. * @vht_seg1_center_ch: VHT mode Segment1 center channel + * The value is zero for 20 MHz, 40 MHz, and 80 MHz channels. The + * value is the index of the channel center frequency for 160 MHz + * channels and the center frequency index of the secondary 80 MHz + * segment for 80+80 MHz channels. * @ch_width: Selected Channel width by driver. Driver may choose to * change hostapd configured ACS channel width due driver internal * channel restrictions.