Home
last modified time | relevance | path

Searched refs:tx_info (Results 1 – 3 of 3) sorted by relevance

/tools/netsim/rust/daemon/src/wifi/
Dhwsim_attr_set.rs65 tx_info: Option<Vec<TxRate>>, field
80 pub tx_info: Option<Vec<TxRate>>, field
165 pub fn tx_info(&mut self, tx_info: &[TxRate]) -> &mut Self { in tx_info() method
167 tx_rates: (*tx_info).to_vec(), in tx_info()
171 self.tx_info = Some(tx_info.to_vec()); in tx_info()
195 tx_info: self.tx_info, in build()
213 self.tx_info.as_ref().map(|v| write!(f, "tx_info: {:?}, ", &v)); in fmt()
270 HwsimAttrTxInfo(child) => builder.tx_info(&child.tx_rates),
313 assert!(attrs.tx_info.is_some()); in test_attr_set_parse()
Dframe.rs35 pub tx_info: Option<Vec<TxRate>>, field
62 tx_info: attrs.tx_info.clone(), in parse()
Dmedium.rs176 || frame.tx_info.is_none() in process_internal()
434 attrs.tx_info.as_ref().map(|v| builder.tx_info(v)); in create_hwsim_attr()
493 .tx_info(attrs.tx_info.context("tx_info")?.as_slice()); in build_tx_info()
625 let tx_info = build_tx_info(&frame).unwrap(); in build_tx_info_and_compare() localVariable
629 assert_eq!(tx_info.hwsim_hdr(), tx_info_expected.hwsim_hdr()); in build_tx_info_and_compare()
630 assert_eq!(tx_info.nl_hdr(), tx_info_expected.nl_hdr()); in build_tx_info_and_compare()
632 let attrs = HwsimAttrSet::parse(tx_info.attributes()).context("HwsimAttrSet").unwrap(); in build_tx_info_and_compare()