is it possible to enable / disable wifi radio statistics collection using iw command or hostapd_cli

0

the board i am using have hostapd 2.9 and iw 4.7 and i am trying to disable the statistics collection of any perticular radio

enum qca_wlan_vendor_attr_ll_stats_clr {
    QCA_WLAN_VENDOR_ATTR_LL_STATS_CLR_INVALID = 0,
    /* Unsigned 32bit bitmap for clearing statistics
     * All radio statistics                     0x00000001
     * cca_busy_time (within radio statistics)  0x00000002
     * All channel stats (within radio statistics) 0x00000004
     * All scan statistics (within radio statistics) 0x00000008
     * All interface statistics                     0x00000010
     * All tx rate statistics (within interface statistics) 0x00000020
     * All ac statistics (with in interface statistics) 0x00000040
     * All contention (min, max, avg) statistics (within ac statisctics)
     * 0x00000080.
     */
    QCA_WLAN_VENDOR_ATTR_LL_STATS_CLR_CONFIG_REQ_MASK = 1,
    /* Unsigned 8 bit value: Request to stop statistics collection */
    QCA_WLAN_VENDOR_ATTR_LL_STATS_CLR_CONFIG_STOP_REQ = 2,

    /* Unsigned 32 bit bitmap: Response from the driver
     * for the cleared statistics
     */
    QCA_WLAN_VENDOR_ATTR_LL_STATS_CLR_CONFIG_RSP_MASK = 3,
    /* Unsigned 8 bit value: Response from driver/firmware
     * for the stop request
     */
    QCA_WLAN_VENDOR_ATTR_LL_STATS_CLR_CONFIG_STOP_RSP = 4,
    /* keep last */
    QCA_WLAN_VENDOR_ATTR_LL_STATS_CLR_AFTER_LAST,
    QCA_WLAN_VENDOR_ATTR_LL_STATS_CLR_MAX =
    QCA_WLAN_VENDOR_ATTR_LL_STATS_CLR_AFTER_LAST - 1,
};
wifi

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0