[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN102665235B - Method for automatically identifying number and power of antennas in hotspot AP (access point) - Google Patents

Method for automatically identifying number and power of antennas in hotspot AP (access point) Download PDF

Info

Publication number
CN102665235B
CN102665235B CN201210143952.XA CN201210143952A CN102665235B CN 102665235 B CN102665235 B CN 102665235B CN 201210143952 A CN201210143952 A CN 201210143952A CN 102665235 B CN102665235 B CN 102665235B
Authority
CN
China
Prior art keywords
power
antennas
antenna amount
interface
automatically identifying
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210143952.XA
Other languages
Chinese (zh)
Other versions
CN102665235A (en
Inventor
李升明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gongjin Electronics Co Ltd
Original Assignee
Shenzhen Gongjin Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Gongjin Electronics Co Ltd filed Critical Shenzhen Gongjin Electronics Co Ltd
Priority to CN201210143952.XA priority Critical patent/CN102665235B/en
Publication of CN102665235A publication Critical patent/CN102665235A/en
Application granted granted Critical
Publication of CN102665235B publication Critical patent/CN102665235B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method for automatically identifying number and power of antennas in a hotspot AP (access point). According to the method, an AP storage device stores the number and the power of all antennas in the AP, a bottom driving program obtains the number and the power of the antennas from the AP storage device, and an application program obtains the number and the power of the antennas owned by an AP through an interface of the bottom driving program. According to the method for automatically identifying the number and the power of the antennas, disclosed by the invention, the storage variable and interfaces are added in wireless drive so as to obtain practical calibration values stored in eeprom or flash; and after the interfaces obtaining the practical calibration values are provided, each module can obtain the practical calibration values of the number or the power of the antennas by utilizing the interfaces so as to carry out associated configuration, thus the unification of software and hardware based on the hardware is realized, and the stability and the efficiency of the AP are improved.

Description

A kind of method automatically identifying antenna amount and power in focus AP
Technical field
The present invention relates to wireless network networking technology field, particularly a kind of method automatically identifying antenna amount and power in focus AP.
Background technology
Along with continuing intimately and the development of technology of focus AP, the kind of equipment gets more and more, and the kind (having 1 at present, 2 and 3 these three kinds) of antenna amount and power grade (having 100mw and 500mw two kinds at present) also get more and more.In the software of focus AP, a lot of module is as wlan, snmp, capwap, the function of AP substantially all embodies in these three modules, other also have some supplementary modules, as wlanmonitor(monitoring), the web(page) etc., all need to configure accordingly according to the occurrence of both, at present, due to the antenna amount of concrete scheme and the actual value of power automatically cannot be identified, relate in each module according to both be configured time, all need these values of appointment clear and definite in advance, so not only very inconvenient, and easily cause with the calibration value of reality inconsistent, so that produce some unexpected problems.If can expect that one identifies actual alignment value automatically, and provide interface that each module can be made to obtain the method for these values, then the efficiency and stability that improve focus AP are a a progressive step again.This method is not also had in prior art.
Summary of the invention
The object of the invention is to solve focus AP different schemes (1x1,2x2,3x3,100mw, 500mw etc.) in obtain the antenna amount of concrete scheme and the technical barrier of power, devise a kind of realization in focus AP and automatically identify the antenna amount of concrete scheme and the method for power.
The present invention in order to the technical scheme completing its technical purpose and adopt is: a kind of method automatically identifying antenna amount and power in focus AP, in the method, antenna amounts all in this AP and power number is stored in the memory of AP, bsp driver obtains antenna amount and power number from AP memory, then, application program is by obtaining with the interface of bsp driver the line quantity and power that AP has.
Further, above-mentioned automatically identifies in the method for antenna amount and power in focus AP, specifically comprises the following steps:
Steps A, the prior actual conditions according to hardware, write the calibration data of antenna amount and power number in flash or eeprom by ART instrument;
Step B, in wireless driving, increase variable X, the calibration data write in flash or eeprom when carrying out initialization described in acquisition;
Step C, to increase and the interface of upper layer application in wireless driving, the data in variable X are stored;
Corresponding module in step D, upper level applications, according to the interface of wireless driving, obtains the calibration data of antenna amount and power number.
The present invention by increasing storage of variables and interface in wireless driving, obtain the data be stored in EEPROM and flash, here, EEPROM is Electrically Erasable Programmable Read-Only Memory(EEPROM (Electrically Erasable Programmable Read Only Memo)) be the storage chip that after a kind of power down, data are not lost.EEPROM on computers or special equipment can be wiped existing information, reprogramming.Drive from eeprom or flash, obtain actual calibration value, and after providing the interface obtaining these values, each module just can utilize these interfaces to obtain the actual alignment value of antenna amount or power, carry out the configuration of being correlated with, so just accomplish to take hardware as foundation, the unification of software and hardware, improves stability and the efficiency of AP.
Below by with specific embodiments and the drawings, the present invention is further detailed.
Accompanying drawing explanation
Accompanying drawing 1 is flow chart of the present invention.
Embodiment
As shown in Figure 1, this automatically identifies the method for antenna amount and power in focus AP, the hardware of the program is based on Atheros chip solution, according to the actual conditions (antenna amount of hardware, power), by ART instrument, calibration data is write in the mobile memories such as flash or eeprom, here ART is the Software tool of a kind of calibrating wireless parameter that Atheros chip solution provides, its effect is calibrated parameters such as the power of hardware, calibration data is write in flash or eeprom, uses when initialization for wireless driving.In this example, ours is Atheros chip solution, so calibrate the ART instrument being exactly.In addition, antenna amount be the mask value transform of the number of stream according to the actual transmitting and receiving write into obtain (1 flowing mask value is 1, and respective antenna quantity is 1, article two, the mask value that stream is corresponding is 3, respective antenna quantity is 2, three stream mask values is 7, and respective antenna quantity is 3); Power is exactly the maximum power value write into.Here, the calibration data in Flash not only comprises antenna amount and power, also has national code, mac address etc.
Realize automatically identifying antenna amount and power in the wireless driving of focus AP, key is:
A, in wireless driving, increase variable X, obtain the calibration data write in flash or eeprom in suitable place; Here variable X is exactly the variable in programming, and it is not a register, just simply the calibration data value obtained is assigned to this variable;
B, in wireless driving, increase interface, the data obtained in a are stored;
C, corresponding module, according to the interface of wireless driving, obtain the value in b.
Here interface is software interface, and call for upper strata and obtain the value in driving, variable X is the value in the driving needing to obtain here, and its effect is equivalent to a memory, needs to be obtained by calling interface for upper strata.
Corresponding module has Wlan module, Snmp module and capwap module, and they can obtain the data of quantity and the power be stored in advance in flash or eeprom by wireless driving interface.

Claims (3)

1. one kind automatically identifies the method for antenna amount and power in focus AP, in the method, antenna amounts all in this AP and performance number is stored in the memory of AP, bsp driver obtains antenna amount and performance number from AP memory, then, application program is by obtaining with the interface of bsp driver the antenna amount and power that AP has; It is characterized in that, comprise the following steps:
Steps A, the prior actual conditions according to hardware, write the calibration data of antenna amount and performance number in flash memory device by ART instrument;
Step B, when wireless driving is programmed, in wireless driving, increase variable X, the calibration data write in the flash memory device when carrying out initialization described in acquisition;
Step C, to increase and the interface of upper layer application in wireless driving, the data in variable X are stored;
Corresponding module in step D, upper level applications, according to the interface of wireless driving, obtains the calibration data of antenna amount and power.
2. the method automatically identifying antenna amount and power in focus AP according to claim 1, is characterized in that: described flash memory device comprises flash and eeprom.
3. the method automatically identifying antenna amount and power in focus AP according to claim 1, is characterized in that: the corresponding module in upper level applications comprises wlan, snmp, capwap.
CN201210143952.XA 2012-05-11 2012-05-11 Method for automatically identifying number and power of antennas in hotspot AP (access point) Expired - Fee Related CN102665235B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210143952.XA CN102665235B (en) 2012-05-11 2012-05-11 Method for automatically identifying number and power of antennas in hotspot AP (access point)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210143952.XA CN102665235B (en) 2012-05-11 2012-05-11 Method for automatically identifying number and power of antennas in hotspot AP (access point)

Publications (2)

Publication Number Publication Date
CN102665235A CN102665235A (en) 2012-09-12
CN102665235B true CN102665235B (en) 2015-01-07

Family

ID=46774623

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210143952.XA Expired - Fee Related CN102665235B (en) 2012-05-11 2012-05-11 Method for automatically identifying number and power of antennas in hotspot AP (access point)

Country Status (1)

Country Link
CN (1) CN102665235B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1533200A (en) * 2003-03-26 2004-09-29 联想(北京)有限公司 Method for dynamically regulating radio local area network base station cut-in point coverage
CN1642323A (en) * 2004-01-17 2005-07-20 上海迪比特实业有限公司 Method for mobile terminal with pick-up device to quickly regulate pick-up control parameters
CN101114861A (en) * 2006-04-06 2008-01-30 美国博通公司 Wireless communication network, wireless communication protocol and method for controlling multistage transmission power
CN102316491A (en) * 2010-07-01 2012-01-11 中国电信股份有限公司 Method for adjusting media code rate by utilizing mobile terminal and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1533200A (en) * 2003-03-26 2004-09-29 联想(北京)有限公司 Method for dynamically regulating radio local area network base station cut-in point coverage
CN1642323A (en) * 2004-01-17 2005-07-20 上海迪比特实业有限公司 Method for mobile terminal with pick-up device to quickly regulate pick-up control parameters
CN101114861A (en) * 2006-04-06 2008-01-30 美国博通公司 Wireless communication network, wireless communication protocol and method for controlling multistage transmission power
CN102316491A (en) * 2010-07-01 2012-01-11 中国电信股份有限公司 Method for adjusting media code rate by utilizing mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN102665235A (en) 2012-09-12

Similar Documents

Publication Publication Date Title
CN109710340A (en) Software tool call method and device, software tool packaging method and device
JP2010157216A5 (en)
CN103164368B (en) The method and system of a kind of embedded device compatible different addresses mapped inner-storage chip
CN106128505A (en) Storage system and its programmed method including semiconductor storage unit
CN109089309A (en) A kind of acquisition of timing-advance information, feedback method, terminal and base station
CN105188056A (en) Method and device for connecting WiFi (Wireless Fidelity) equipment with access point
CN103123470A (en) Method for controlling a field device
CN103106095A (en) Method for remotely upgrading industrial camera and camera
CN103868421A (en) Method for displaying position information of electronic detonators on screen of control host
US20200364169A1 (en) Technologies for fast mausb enumeration
CN109086091A (en) A kind of interface loading method, device and the equipment of software development kit
CN106372011A (en) High performance host queue monitor for PCIE SSD controller
CN109997120B (en) External controller module of mobile device
CN106502750B (en) OTA upgrade method and Bluetooth chip
CN102665235B (en) Method for automatically identifying number and power of antennas in hotspot AP (access point)
CN106686587A (en) Wireless fidelity Wi-Fi connecting method and mobile terminal
CN105446789A (en) Method and apparatus for building application in android system
CN103632185A (en) Covering film intelligent card with extended functions
CN105187250A (en) Method and system for deploying nodes based on component template
CN102110055A (en) Memory layout method and memory layout device of flash chip
CN110058904A (en) Data transfering method, device and server
CN102932208A (en) Site monitoring method and device
CN107528898A (en) A kind of method and device for realizing Internet of Things module
CN202907189U (en) Wind power fault message transmission system with WIFI module
CN109324810A (en) The production method and system of internet of things equipment upgrade package

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150107