Commit 2f088fab authored by Kapil Bhatt's avatar Kapil Bhatt Committed by Anas Nashif
Browse files

net: wifi: Add Current PHY rate



Current PHY rate
It represents the current PHY rate of transfer
of data in bits per second. It will a TX data rate.

Signed-off-by: default avatarKapil Bhatt <kapil.bhatt@nordicsemi.no>
parent 459a63b1
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -522,6 +522,8 @@ struct wifi_iface_status {
	unsigned short beacon_interval;
	/** is TWT capable? */
	bool twt_capable;
	/** The current 802.11 PHY data rate */
	int current_phy_rate;
};

/** @brief Wi-Fi power save parameters */
+1 −0
Original line number Diff line number Diff line
@@ -850,6 +850,7 @@ static int cmd_wifi_status(const struct shell *sh, size_t argc, char *argv[])
		PR("DTIM: %d\n", status.dtim_period);
		PR("TWT: %s\n",
		   status.twt_capable ? "Supported" : "Not supported");
		PR("Current PHY rate : %d\n", status.current_phy_rate);
	}

	return 0;