Larry Finger <larry.fin...@lwfinger.net> writes: > From: Ping-Ke Shih <pks...@realtek.com> > > We use seq_file to replace RT_TRACE to dump status, then we can use 'cat' > to access btcoex's status through debugfs. > (i.e. /sys/kernel/debug/rtlwifi/00-11-22-33-44-55-66/btcoex) > Other related changes are > 1. implement btc_disp_dbg_msg() to access btcoex's common status. > 2. remove obsolete field bt_exist > > Signed-off-by: Ping-Ke Shih <pks...@realtek.com> > Signed-off-by: Larry Finger <larry.fin...@lwfinger.net> > Cc: Yan-Hsuan Chuang <yhchu...@realtek.com> > Cc: Birming Chiu <birm...@realtek.com> > Cc: Shaofu <sha...@realtek.com> > Cc: Steven Ting <stevent...@realtek.com>
[...] > +static void halbtc_display_wifi_status(struct btc_coexist *btcoexist, > + struct seq_file *m) > +{ > + struct rtl_priv *rtlpriv = btcoexist->adapter; > + s32 wifi_rssi = 0, bt_hs_rssi = 0; > + bool scan = false, link = false, roam = false, wifi_busy = false, > + wifi_under_b_mode = false, > + wifi_under_5g = false; > + u32 wifi_bw = BTC_WIFI_BW_HT20, > + wifi_traffic_dir = BTC_WIFI_TRAFFIC_TX, > + wifi_freq = BTC_FREQ_2_4G; > + u32 wifi_link_status = 0x0; > + bool bt_hs_on = false, under_ips = false, under_lps = false, > + low_power = false, dc_mode = false; > + u8 wifi_chnl = 0, wifi_hs_chnl = 0, fw_ps_state; > + u8 ap_num = 0; The indetation here is weird. -- Kalle Valo