mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-10-31 02:38:03 +00:00 
			
		
		
		
	port_probe.py : removed exception for receive
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
		| @@ -138,17 +138,15 @@ class ProbePort(LFCliBase): | ||||
|             elif 24 <= self.rx_mcs <= 31: | ||||
|                 self.rx_nss = 4 | ||||
|  | ||||
|             self.rx_mbit = self.rx_bitrate.split(' ')[0] | ||||
|             print("rx_nss {rx_nss}".format(rx_nss=self.rx_nss)) | ||||
|             self.rx_mbit = float(self.rx_bitrate.split(' ')[0]) | ||||
|             print("rx_mbit {rx_mbit}".format(rx_mbit=self.rx_mbit)) | ||||
|             self.calculated_data_rate_rx_HT() | ||||
|             if 'HE not supported' in [x.strip('\t') for x in text if 'HE' in x]: | ||||
|                 self.he = False | ||||
|             else: | ||||
|                 self.he = True | ||||
|         except IndexError as error: | ||||
|             print(error) | ||||
|         self.rx_mbit = self.rx_bitrate.split(' ')[0] | ||||
|         print("rx_nss {rx_nss}".format(rx_nss=self.rx_nss)) | ||||
|         self.rx_mbit = float(self.rx_bitrate.split(' ')[0]) | ||||
|         print("rx_mbit {rx_mbit}".format(rx_mbit=self.rx_mbit)) | ||||
|         self.calculated_data_rate_rx_HT() | ||||
|         if 'HE not supported' in [x.strip('\t') for x in text if 'HE' in x]: | ||||
|             self.he = False | ||||
|         else: | ||||
|             self.he = True | ||||
|  | ||||
|     def getSignalAvgCombined(self): | ||||
|         return self.signals['signal avg'].split(' ')[0] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Chuck SmileyRekiere
					Chuck SmileyRekiere