CN107835108A - Mac-layer protocol stack verification platform based on OpenWrt - Google Patents

Mac-layer protocol stack verification platform based on OpenWrt Download PDF

Info

Publication number
CN107835108A
CN107835108A CN201711143572.5A CN201711143572A CN107835108A CN 107835108 A CN107835108 A CN 107835108A CN 201711143572 A CN201711143572 A CN 201711143572A CN 107835108 A CN107835108 A CN 107835108A
Authority
CN
China
Prior art keywords
module
protocol stack
mac
mac protocol
stack
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.)
Granted
Application number
CN201711143572.5A
Other languages
Chinese (zh)
Other versions
CN107835108B (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.)
Tuoer Microelectronics Co ltd
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN201711143572.5A priority Critical patent/CN107835108B/en
Publication of CN107835108A publication Critical patent/CN107835108A/en
Application granted granted Critical
Publication of CN107835108B publication Critical patent/CN107835108B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/18Protocol analysers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/02Data link layer protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a kind of mac-layer protocol stack verification platform based on OpenWrt, mainly solves the problems, such as that existing MAC protocol stack checking needs to design integrity authentication platform.It includes mainboard, MAC protocol stack hardware module and control unit;High-performance processor is carried on mainboard, it is reserved with many general EBI, and passes through general purpose interface bus and MAC protocol stack hardware module UNICOM;MAC protocol stack hardware module is made up of MAC protocol chip stack and peripheral circuit;Control unit includes operating system module, and drive module and MAC protocol stack, operating system are managed to software and hardware, and drive module driving MAC protocol chip stack normal work, MAC protocol stack realizes that media intervene control function.The present invention reduces the workload of hardware circuit design, reduces the probability that verification platform has failure, accelerates the test and checking of protocol stack, available for the checking of WIFI chip mac-layer protocols stack and test.

Description

Mac-layer protocol stack verification platform based on OpenWrt
Technical field
The present invention relates to wireless communication technology field, more particularly to a kind of mac-layer protocol stack verification platform, available for pair WIFI chip mac-layer protocols stack is verified and test.
Background technology
With the fast development of science and technology, the maturation of wireless communication technology, its typical case branch WIFI also relies on certainly The advantage of body is used widely, and develops into a kind of hot technology, and either business or family have all been carried out on a large scale WIFI is covered, the indispensable part into daily life.Another branch's technology of Internet of things of wireless communication technology As Hot spots for development in recent years, increasing Internet of Things smart machine accesses network by wireless communication technology, among these Smart home product has obtained everybody pay close attention to.Intelligent home device is connected into smart home service by WiFi technology Device, home intelligent is managed collectively by smart home server, makes daily life more convenient.Wireless communication technology adds Speed life staying idle at home digitlization, wireless penetration and intelligentized development.
WiFi technology from June, 1997 IEEE802.11 standards formally implement since more generations have been developed, technology obtains Quick innovation.Speed also from 802.11 1 or 2 mbps to 802.11b 11Mbps, 802.11a's (g) 54Mbps, 802.11n 450Mbps and current mainstream standard 802.11ac 1300Mbps and applied to telecommunication 802.11ah.The innovation of each physical layer communication technology is required for medium access control layer protocol to carry out technology upgrading to meet The requirement of its physical layer rate.
Applied to different business mac-layer protocol because demand is different and different, such as voice class, in order to ensure that real-time is then wanted Ask the business that there is high priority in MAC protocol stack, background classes data transfer is relatively low to requirement of real-time, bust this After can be retransmitted, large effect will not be caused to Consumer's Experience, therefore priority can be with MAC protocol stack for the business It is relatively low.Different service priority needs to be determined by emulation, checking and test, and emulation can pass through corresponding software Carry out, checking and test then need to carry out on corresponding hardware and software platform.The mac-layer protocol stack of different scientific & technical corporation's research and development is not Only need the standard strictly according to correlation to also need to according to corresponding to being done corresponding service demand optimize and improve, develop adaptation not With the WIFI chips of application scenarios.Checking and test required for the WIFI chips of research and development is then complete on specific hardware and software platform Into.With the popularization of personal portable computer, smart mobile phone and intelligent home device, the equipment that internet is accessed by WiFi technology It is being in the growth of blowout, how to optimize MAC protocol stack to reduce network congestion to improve channel utilization is one urgently to be resolved hurrily The problem of.
For problem above, different manufacturers is owned by solution and the testing scheme of their own.Manufacturer is according to different industry Business demand carries out research and design and realization according to IEEE802.11 consensus standards, is then set according to mac-layer protocol stack application scenarios Count special hardware testing circuit and corresponding software module builds mac-layer protocol stack test platform, by corresponding instrument pair MAC protocol stack function and performance are tested and verified, and then determine whether MAC protocol stack function and performance meet that design will Ask.Traditional test platform is according to different business scenarios and the hardware of different mac-layer protocol stack standard design specializeds electricity Road and corresponding software module, the mac-layer protocol stack realized to design tested and verified, this is invisible add checking and The difficulty and complexity of test job, the availability of hardware platform is not also high, also increases not true in checking and test process Qualitative and unstability.
The content of the invention
It is an object of the invention to for above-mentioned the deficiencies in the prior art, there is provided a kind of mac-layer protocol based on OpenWrt Stack verification platform, to reduce hardware and software is redesigned because adapting to different protocol standards and is brought work difficulty and complexity Degree, lifts operating efficiency, and guarantee checking is smoothed out with test job.
To solve above technical problem, the present invention is by changing different MAC protocol stack hardware modules, completing corresponding Mac-layer protocol stack is tested and checking work, and it includes:
Mainboard 1, MAC protocol stack hardware module 2 and control unit 3, it is characterised in that:
The mainboard 1, many general EBI 12 is reserved with thereon, and pass through general purpose interface bus 12 and MAC protocol The UNICOM of stack hardware module 2, and store and run control unit 3;
The MAC protocol stack hardware module 2, it is made up of MAC protocol chip stack and peripheral circuit, MAC protocol chip stack Draw general purpose interface bus, and with the UNICOM of mainboard 1.
Further, described control unit 3 includes:
Operating system module 31, using OpenWrt systems, for management software and hardware resource;
Drive module 32, for driving MAC protocol chip stack normal work;
MAC protocol stack module 33, for according to IEEE802.11 agreements, realizing that the protocol stack of medium education function is soft Part.
Further, the mainboard 1 includes:High-performance processor 11, general purpose interface bus 12, power supply circuit 13, JTAG are adjusted Try mouth 14, memory module 15, ethernet module 16 and serial communication modular 17;High-performance processor 11 respectively with versabus Interface 12, JTAG debugging interfaces 14, memory module 15, ethernet module 16 are connected with serial communication modular 17;Versabus connects The other end of mouth 12 is connected with MAC protocol stack hardware module 2;The other end of JTAG debugging interfaces 14 is connected with JTAG debuggers; The other end of ethernet module 16 is connected with internet;The other end of serial communication modular 17 is connected with PC;Memory module 15 is used In storage control unit 3;Power supply circuit 13 is used to provide electric energy for mainboard 1.
Further, the high-performance processor 11, its selection can support PCI-E or USB or SDIO or RGMII bus protocols Chip, for running control unit 3.
Further, the general purpose interface bus 12, it uses PCI-E interface or USB interface or SDIO interfaces.
Further, the power supply circuit 13, it uses 5 way switch power circuits, for input supply voltage to be converted to 12V, 5V, 3.3V, 1.8V and 1.2V needed for mainboard 1.
Further, the memory module 15, it uses NAND Flash chips or SPI Flash chips, is controlled for storing Unit 3 processed.
Further, the ethernet module 16, it uses GiGE PHY chips, and by RGM II agreements and high-performance at The UNICOMs of Li Qi 11.
Further, described with serial port module 17, it is connected by RS232 agreements with PC computers, for controlling and gathering master The corresponding information of plate 1.
The present invention has advantages below:
1. the present invention is attached due to separately being designed with MAC protocol stack hardware module using mainboard by versabus; The probability that verification platform has failure is reduced, advantageously in hardware circuit misarrangement.
2. the present invention is directed to different editions agreement chip stack, only MAC protocol stack hardware mould need to be designed according to agreement chip stack Block, general purpose interface bus is drawn, by versabus and mainboard UNICOM, reduces the work of related protocol chip stack circuit design Amount, reduces cost.
3. the present invention erects corresponding checking system by control unit, protocol verification and test job are accelerated, is added Fast launch.
Brief description of the drawings
Fig. 1 overall structure figures of the present invention;
Motherboard hardware block diagram in Fig. 2 present invention.
Embodiment
Below in conjunction with accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that institute The embodiment of description is only the part of the embodiment of the present invention, rather than whole embodiments.
Referring to Fig. 1, the mac-layer protocol stack verification platform of the invention based on OpenWrt, including mainboard 1, MAC protocol stack are hard Part module 2 and control unit 3.
The mainboard 1 includes core processor 11, general purpose interface bus 12, power supply circuit 13, JTAG debugging interfaces 14, deposits Store up module 15, wired ethernet module 16 and serial communication modular 17;The high-performance processor 11 respectively with general purpose interface bus 12nd, JTAG debugging interfaces 14, memory module 15, ethernet module 16 are connected with serial communication modular 17;The general purpose interface bus 12 other end is connected with MAC protocol stack hardware module 2;The other end of the JTAG debugging interfaces 14 is connected with JTAG debuggers; The other end of the ethernet module 16 is connected with internet;The other end of serial communication modular 17 is connected with PC;The storage mould Block 15 is used for storage control unit 3;The power supply circuit 13 is used to provide electric energy for mainboard 1.
The MAC protocol stack hardware module 2, it is made up of mac-layer protocol chip stack to be verified and its peripheral circuit, MAC Agreement chip stack draws general purpose interface bus 12, and carries out UNICOM by versabus 12 and mainboard 1, for realizing MAC protocol Communication between stack hardware module 12 and mainboard 1.
Described control unit 3, it is made up of operating system module 31, drive module 32 and MAC protocol stack 33;Wherein operate System module 31 is open source operating system OpenWrt;Drive module 32 is MAC protocol chip stack driver to be verified, is used for Drive MAC protocol chip stack normal work;MAC protocol stack 33 is according to IEEE802.11 consensus standards, realizes media access control The protocol stack sofeware of function processed.
Referring to Fig. 2, each part in mainboard 1 of the present invention is from as follows:
The high-performance processor 11, its selection can support the chip of PCI-E or USB or SDIO or RGMII bus protocols, For running control unit 3, the present embodiment uses but is not limited to Marvell 88F6281, its support PCI-E, USB, SDIO and RGM II EBIs.
The general purpose interface bus 12, it uses PCI-E interface or USB interface or SDIO interfaces.The present embodiment high-performance The general purpose interface bus 12 that processor Marvell 88F6281 are drawn includes PCI-E interface, USB interface and SDIO interfaces.
The power supply circuit 13, using 5 road DC/DC converters, input power is converted to by the institute of mainboard 1 by the converter Need voltage, including but not limited to 12V, 5V, 3.3V, 1.8V and 1.2V;The present embodiment DC/DC chip models are used but are not limited to AOZ1094, mainboard voltage are not limited to 5 road voltage.
The memory module 15, it uses NAND Flash chips or SPI Flash chips, for storage control unit 3; The present embodiment memory module 15 uses but is not limited to NAND Flash chips.
The ethernet module 16, it uses GiGE PHY chips, and passes through RGM II agreements and high-performance processor 11 UNICOM.The present embodiment ethernet module 16 uses but is not limited to MV88E6171R chips, and one end passes through RGMII buses and high property Energy processor 11Marvell 88F6281 are connected, and the other end is connected with internet.
It is described with serial port module 17, it is connected by RS232 agreements with PC computers, for controlling and gathering the phase of mainboard 1 Information is answered, the present embodiment serial communication modular 17 uses but is not limited to FT2232D serial port chips, one end of the chip and high-performance Processor 11Marvell 88F6281 are connected, and the other end is connected with PC.
Above description is only example of the present invention, does not form any limitation of the invention, it is clear that for , all may be without departing substantially from the principle of the invention, structure after present invention and principle has been understood for one of skill in the art In the case of, the various modifications and changes in form and details are carried out, but the modifications and variations of these basic inventive ideas are still Within the claims of the present invention.

Claims (9)

1. the mac-layer protocol stack verification platform based on OpenWrt, including mainboard (1), MAC protocol stack hardware module (2) and control Unit (3), it is characterised in that:
The mainboard (1), many general EBI (12) is reserved with thereon, and assisted by general purpose interface bus (12) and MAC Stack hardware module (2) UNICOM is discussed, and stores and runs control unit (3);
The MAC protocol stack hardware module (2), it is made up of MAC protocol chip stack and peripheral circuit, and MAC protocol chip stack draws Go out general purpose interface bus (12), and with mainboard (1) UNICOM.
2. platform according to claim 1, it is characterised in that described control unit (3) includes:
Operating system module (31), using OpenWrt systems, for management software and hardware resource;
Drive module (32), for driving MAC protocol chip stack normal work;
MAC protocol stack module (33), for according to IEEE802.11 agreements, realizing that the protocol stack of medium education function is soft Part.
3. platform according to claim 1, it is characterised in that the mainboard (1) includes:High-performance processor (11), lead to With EBI (12), power supply circuit (13), JTAG debugging interfaces (14), memory module (15), ethernet module (16) and string Port communications module (17);High-performance processor (11) respectively with general purpose interface bus (12), JTAG debugging interfaces (14), storage mould Block (15), ethernet module (16) are connected with serial communication modular (17);The other end and MAC protocol of general purpose interface bus (12) Stack hardware module (2) is connected;The other end of JTAG debugging interfaces (14) is connected with JTAG debuggers;Ethernet module (16) it is another One end is connected with internet;Serial communication modular (17) other end is connected with PC;Memory module (15) is used to store control list First (3);Power supply circuit (13) is used to provide electric energy for mainboard (1).
4. platform according to claim 1, it is characterised in that the high-performance processor (11), its selection can be supported PCI-E or USB or SDIO or RGMII bus protocols chip, for running control unit (3).
5. platform according to claim 1, it is characterised in that the general purpose interface bus (12), it uses PCI-E interface Or USB interface or SDIO interfaces.
6. platform according to claim 1, it is characterised in that the power supply circuit (13), it uses 5 way switch power supplys electric Road, for input supply voltage to be converted to 12V, 5V, 3.3V, 1.8V and 1.2V needed for mainboard (1).
7. platform according to claim 1, it is characterised in that the memory module (15), it uses NAND Flash cores Piece or SPI Flash chips, for storage control unit (3).
8. platform according to claim 1, it is characterised in that the ethernet module (16), it uses GiGE PHY cores Piece, and pass through RGM II agreements and high-performance processor (11) UNICOM.
9. platform according to claim 1, it is characterised in that described with serial port module (17), its one end is assisted by RS232 View is connected with PC computers, for controlling and gathering mainboard (1) corresponding information.
CN201711143572.5A 2017-11-17 2017-11-17 OpenWrt-based MAC (media Access control) layer protocol stack verification platform Active CN107835108B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711143572.5A CN107835108B (en) 2017-11-17 2017-11-17 OpenWrt-based MAC (media Access control) layer protocol stack verification platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711143572.5A CN107835108B (en) 2017-11-17 2017-11-17 OpenWrt-based MAC (media Access control) layer protocol stack verification platform

Publications (2)

Publication Number Publication Date
CN107835108A true CN107835108A (en) 2018-03-23
CN107835108B CN107835108B (en) 2021-06-22

Family

ID=61652886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711143572.5A Active CN107835108B (en) 2017-11-17 2017-11-17 OpenWrt-based MAC (media Access control) layer protocol stack verification platform

Country Status (1)

Country Link
CN (1) CN107835108B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275857A (en) * 2019-06-13 2019-09-24 天津市英贝特航天科技有限公司 A kind of 5 port PCIE bus switch plates based on XMC standard interface
CN112469068A (en) * 2020-11-24 2021-03-09 展讯半导体(成都)有限公司 Test method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017656A1 (en) * 2008-07-16 2010-01-21 Samsung Electronics Co., Ltd. System on chip (SOC) device verification system using memory interface
CN102681923A (en) * 2011-03-16 2012-09-19 中国科学院微电子研究所 Hardware platform device for verifying system-on-chip
CN103576073A (en) * 2012-07-30 2014-02-12 合肥科盛微电子科技有限公司 System and method for testing functions of chips
CN205176829U (en) * 2013-07-25 2016-04-20 中国航天科工集团第三研究院第八三五七研究所 Multiple communications protocol's of test configuration system on a chip's test system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100017656A1 (en) * 2008-07-16 2010-01-21 Samsung Electronics Co., Ltd. System on chip (SOC) device verification system using memory interface
CN102681923A (en) * 2011-03-16 2012-09-19 中国科学院微电子研究所 Hardware platform device for verifying system-on-chip
CN103576073A (en) * 2012-07-30 2014-02-12 合肥科盛微电子科技有限公司 System and method for testing functions of chips
CN205176829U (en) * 2013-07-25 2016-04-20 中国航天科工集团第三研究院第八三五七研究所 Multiple communications protocol's of test configuration system on a chip's test system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SUSHIL DUTT ETC: "A Low Cost Atheros System-on-Chip and OpenWrt Based Testbed for 802.11 WLAN Research", 《TENCON 2012 IEEE REGION 10 CONFERENCE》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110275857A (en) * 2019-06-13 2019-09-24 天津市英贝特航天科技有限公司 A kind of 5 port PCIE bus switch plates based on XMC standard interface
CN112469068A (en) * 2020-11-24 2021-03-09 展讯半导体(成都)有限公司 Test method and device

Also Published As

Publication number Publication date
CN107835108B (en) 2021-06-22

Similar Documents

Publication Publication Date Title
US9507619B2 (en) Virtualizing a host USB adapter
KR20120096858A (en) Remote wakeup of application processor of mobile device
CN111901164B (en) Adaptive control method, device, equipment and system of OCP NIC network card
CN108027755A (en) Support using external input/output interface to testing, debugging or the devices, systems, and methods of the transmission of tracked information
WO2018144102A1 (en) Technologies for duplicating virtual machine states
CN211628241U (en) PCIE bus structure switching topology through software
CN102820061A (en) Embedded remote device program programmer device and method
CN109474467A (en) Network automatically management method, device, storage medium and electronic equipment
CN107807827A (en) A kind of method for supporting multi-core CPU multiple operating system
CN107835108A (en) Mac-layer protocol stack verification platform based on OpenWrt
CN201955778U (en) Embedded transparent transmission system for USB (Universal Serial Bus) equipment with virtual desktop
CN111104359B (en) Access method and device for baseboard management controller
CN203046462U (en) Intelligent network invoice printer
CN110493646A (en) Method, apparatus, TV and the system of TV upgrading are carried out by external equipment
CN104202422A (en) Wireless connecting system and wireless connecting method supporting internet-of-things access
CN103596300A (en) Wireless router, wireless communication method and wireless communication system of local area network
CN203482416U (en) Local network wireless router
CN106991067B (en) Data interaction method for one-master multi-slave network and embedded equipment thereof
CN109669905A (en) A kind of hot removing method, system and the relevant apparatus of PCIE device
CN110572387B (en) Link layer processing method
CN103294622B (en) Digital processing device, hybrid architecture system and memory pool access method
CN105429907B (en) Serial ports automatic identification equipment and method
CN109725621A (en) A kind of secondary bus program based on 1553B bus and CAN bus is in line writing method
CN204069039U (en) A kind of wireless connection system and device
CN104424153B (en) A kind of audio & video equipment data collecting system and its method to USB interface

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220419

Address after: B201, zero one square, Xi'an Software Park, 72 Keji 2nd Road, high tech Zone, Xi'an City, Shaanxi Province, 710000

Patentee after: Tuoer Microelectronics Co.,Ltd.

Address before: 710071 Taibai South Road, Yanta District, Xi'an, Shaanxi Province, No. 2

Patentee before: XIDIAN University