summary of the invention
In order to solve the problems referred to above of prior art, be necessary to provide the wireless parameter calibration steps of the wireless chip that a kind of efficiency is high.
The technical scheme that technical solution problem of the present invention provides is:
A calibration steps for the wireless parameter of wireless chip, it comprises, the testing procedure of test chip performance number of wireless data packet when current radio parameters; Relatively current power value and the comparison step expecting performance number; If the performance number of current performance number and expectation is inconsistent, then automatically adjust the wireless parameter of chip, and jump to above-mentioned testing procedure; If current performance number is consistent with the performance number of expectation, then calibrate.
According to the calibration steps of the wireless parameter of above-mentioned wireless chip, wherein, the adjustment mode of described wireless parameter is, X is obtained according to formula X=(performance number-expectation performance number) × 2, then parameter corresponding to current radio frequency is read, add X on its basis, then its result is applied to Devices to test as new parameter.
Wherein, described wireless chip is Atheros ar93xx family chip.
Wherein, in described testing procedure, described chip is placed in Devices to test, and device under test sends
Compared to prior art, the parameter calibrating method of wireless chip of the present invention can realize adopting separate unit Devices to test to carry out wireless calibration, tester is controlled while adjustment wireless parameter, real-time reading radio capability data, greatly improve the utilance of instrument, save the production time, improve production capacity.
Embodiment
Fig. 1 is the flow chart of the wireless parameter calibration steps of wireless chip provided by the present invention, and in the method, be arranged at by chip in Devices to test, the wireless data packet that device under test sends carries out wireless performance test.If wireless performance does not reach desired value, then by adjustment wireless parameter, and then carry out wireless performance test, so repeatedly, until wireless parameter meets desired value.
The method flow process comprises the following steps:
Step S1: read in default configuration information;
Step S2: connect with Devices to test;
Step S3: initialization test instrument;
Step S4: according to configuration information, arranges the wireless frequency that chip and tester use in testing;
Step S5: according to calibration algorithm amendment chip wireless parameter, and application parameter, meanwhile, allow Devices to test start working.Concrete calibration algorithm is as follows:
Step S5.1: if first time enters test, then directly enter step S6; Otherwise enter step S5.2;
Step S5.2: read the desired value in the performance number and configuration analyzed and obtain, X is obtained according to formula X=(performance number-expectation performance number) × 2, then the parameter that current radio frequency (channel) is corresponding is read, add X on its basis, then its result is applied to Devices to test as new parameter, and start to allow Devices to test start to send out wireless data packet, enter step S6;
Step S6: tester starts to capture wireless data packet, and the wireless performance that analytical test is current, obtain performance number;
Step S7: the data after analysis and the desired value in preset configuration information are compared, if meet the scope of desired value, enters step S8; If do not met, return step S5;
Step S8: if also have other wireless frequencies (channel) to need calibration, then return step S4; If no, then calibrate end.
Above-mentioned wireless chip can adopt Atheros ar93xx family chip.
Chip parameter calibration steps of the present invention can realize adopting separate unit Devices to test to carry out wireless calibration, while adjustment wireless parameter, control tester, read radio capability data in real time, greatly improve the utilance of instrument, save the production time, improve production capacity.
Above content is in conjunction with concrete preferred implementation further description made for the present invention, can not assert that specific embodiment of the invention is confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, some simple deduction or replace can also be made, all should be considered as belonging to protection scope of the present invention.